ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Class.forName() in test environment
Date Thu, 08 Jul 2004 14:56:55 GMT
On Thu, 8 Jul 2004, Jan Materne <Jan.Materne@rzf.fin-nrw.de> wrote:

> A first view into the build.xml seems to add the test classes (and
> sources) to the classpath, but it doesnt ...

Delegating class loaders.

The core Ant classes are loaded by a classloader closer to the system
classloader than the one the nested <classpath> defines, so your
Class.forName never has a chance to reach up for it.

Stefan

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


Mime
View raw message