Author: heiko.braun(a)jboss.com
Date: 2008-06-06 09:51:02 -0400 (Fri, 06 Jun 2008)
New Revision: 7413
Modified:
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/tools/MetroProviderImpl.java
Log:
Use URL.getPath() when creating classpath strings. (Strip 'file:/' ...)
Modified:
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/tools/MetroProviderImpl.java
===================================================================
---
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/tools/MetroProviderImpl.java 2008-06-06
13:42:30 UTC (rev 7412)
+++
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/tools/MetroProviderImpl.java 2008-06-06
13:51:02 UTC (rev 7413)
@@ -169,7 +169,7 @@
URLClassLoader urlLoader = (URLClassLoader)loader;
for(URL url : urlLoader.getURLs())
{
- builder.append(url.toExternalForm());
+ builder.append(url.getPath());
builder.append(File.pathSeparator);
}
Show replies by date