git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985198 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-08-13 13:45:24 +00:00
parent 46e2e6e363
commit b14fec3716
1 changed files with 2 additions and 2 deletions

View File

@ -301,7 +301,7 @@ public class Main {
File dir = iter.next(); File dir = iter.next();
// try{ System.out.println("Adding to classpath: " + // try{ System.out.println("Adding to classpath: " +
// dir.getCanonicalPath()); }catch(Exception e){} // dir.getCanonicalPath()); }catch(Exception e){}
urls.add(dir.toURL()); urls.add(dir.toURI().toURL());
} }
for (Iterator<File> iter = extensions.iterator(); iter.hasNext();) { for (Iterator<File> iter = extensions.iterator(); iter.hasNext();) {
@ -329,7 +329,7 @@ public class Main {
// classpath: " + // classpath: " +
// files[j].getCanonicalPath()); // files[j].getCanonicalPath());
// }catch(Exception e){} // }catch(Exception e){}
urls.add(files[j].toURL()); urls.add(files[j].toURI().toURL());
} }
} }
} }