Hans,

Still not sure what the issue was, but I've been able to work around it. 
Stuck this in compile.doFirst and everything works perfectly well.

List classpath = test.dependencyManager.resolveTask('test')
        
ant.path(id: 'my-classpath') {
            classpath.each {
                pathelement(location: it)
            }
}
        
ant.java(classname: 'GeneratorGradleWrapper', classpathref: 'my-classpath')


-- 
View this message in context: 
http://www.nabble.com/Classpaths-classloaders-in-Gradle-tp17105685p17140775.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to