On Wed, 9 Mar 2005, Dominique Devienne <[EMAIL PROTECTED]> wrote:

> I find this pretty weird, if not dangerous. I don't understand
> why we don't just fork the tests all the time

Because historically (pre Ant 1.6.2) forking would slow down tests
immensily.

> But now a test requires the reverse!?!? What ugliness is hiding
> beyond this failing test I wonder?

It asserts that you can only find one
org/apache/tools/ant/taskdefs/default.properties in the classloader
that has loaded the Project class.

In non-forked mode with delegation you get the one from ant.jar, the
jar if the version of Ant executing the tests.  In forked mode both
ant.jar and build/classes end up in the system classloader so you get
twi versions of default.properties.

Stefan

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

Reply via email to