final File file = new File((String)classpathFiles.get(ctr));
if (this.getLog().isDebugEnabled())
{
getLog().debug("adding to classpath '" + file + "'");
}
classpathUrls.add(file.toURI().toURL());
}
}
final URLClassLoader loader =
new URLClassLoader((URL[])classpathUrls.toArray(new URL[0]),
Thread.currentThread().getContextClassLoader());