ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: <classloader> (was Re: 1.7 release timetable & features.)
Date Fri, 25 Feb 2005 11:28:54 GMT
Stefan Bodewig wrote:

>On Thu, 24 Feb 2005, Peter Reilly <peterreilly@apache.org> wrote:
>
>  
>
>>   * <classloader> to allow adding of jars to the current
>>   classloader (would solve a *lot* of problems at the cost of
>>   some issues)
>>   http://issues.apache.org/bugzilla/show_bug.cgi?id=28228
>>    
>>
>
>I'm willing to not cast a -1 on it, if it is documented that the task
>is dangerous and should be handled with out,ost care.
>  
>
This is for sure.
It is *very* dangerous. For example when used within netbeans, the 
ant-classpath is
changed in one build, and this is carried over the the next build.

It also uses a protected method via reflection in URLClassloader to add 
the urls.

For the classloader reports  (!very useful!) it used sun.misc classes, 
so these may need to be
placed in an optional area.

>Oh, and it must adhere to the build.sysclasspath setting 8-)
>  
>
This is something to look into.

Like most of the ant code, it does check for the setting "only", but not 
for the
other settings ("ignore", "last" and "first").

Peter

>Stefan
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message