I have a little problem
I want to add dynamically a folder to the classpath.
We have that in for creating the classpath from a .war
if (appliPath != null && (appliPath.endsWith(".war") ||
appliPath.endsWith(".jar"))) {
file = new File(appliPath);
appRoot = new URL("jar:file:" + file.getCanonicalPath() + "!/");
classesURL = new URL("jar:file:" + file.getCanonicalPath() +
"!/WEB-INF/classes/");
path = ExpandJar.expand(appRoot);
}
but in my case I want to generate the same thing from a expanded folder.
I try with hudson, but I got error when trying to load Groovy scripts.
There are in /WEB-INF/security/...
anyone can help ?