Hi Max,
not surprising.
getProject().createClassLoader(classPath) creates a new AntClassLoader with
the given classpath and set CoreLoader (which is usually null) as it's
parent(Same as ).
AntClassLoader uses System.getClassloader() as it's default parent unless
you set another parent loader expl
If you want your "local" classloader a childloader of the task's loader
you
should - as of less classpath overhead - simply code
new URLClassloader(this.getClass().getClassloader(),localClasspath)
(and set it as ThreadContextClassloader) unless you want to support
things
like "isolate"...