ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <blackd...@gmx.org>
Subject Re: custom classloader for a task
Date Sun, 18 Sep 2005 20:57:15 GMT
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message