first, thx for all your help from everyone. To solve my problem I wrote a task that will store a laoder reference for the usage by my taskdef. That classloader does try to load all classes by himself instead delegating these classes to the parent as a normal classloader would do. To avoid duplicate definitions of ant classes, these classes are excluded. This works nicely here. Of course this is not the most clean solution, but better than nothing.

see
http://cvs.groovy.codehaus.org/viewrep/groovy/groovy/groovy-core/src/main/org/codehaus/groovy/tools/RootLoader.java
http://cvs.groovy.codehaus.org/viewrep/groovy/groovy/groovy-core/src/main/org/codehaus/groovy/ant/RootLoaderRef.java

for details

bye blackdrag


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to