Stefan Bodewig wrote:

On Thu, 24 Feb 2005, Peter Reilly <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







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



Reply via email to