ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [GUMP@vmgump]: Project test-ant (in module ant) failed
Date Tue, 10 Oct 2006 03:48:20 GMT
On Mon, 9 Oct 2006, Peter Reilly <peter.kitt.reilly@gmail.com> wrote:
> On 10/9/06, Stefan Bodewig <bodewig@apache.org> wrote:
>> On Mon, 9 Oct 2006, Peter Reilly <peter.kitt.reilly@gmail.com>
>> wrote:
>>
>> > I notice that the classpath for gump test has
>> > CLASSPATH: /opt/jdk1.5/lib/tools.jar:
>> > /usr/local/gump/public/workspace/ant/build/testcases
>> > /usr/local/gump/public/workspace/ant/src/tests/junit:
>> > /usr/local/gump/public/workspace/ant/src/etc/testcases:
>> > ....
>> > Is this the intention?
>>
>> Yes.
> Oh!

Without it Ant wouldn't find the tests since Gump runs with
build.sysclasspath=only.

> The AntClassLoaderDelegation test. The 2 test cases assume
> that includeTest.class will not be found in the nested
> classloader AntClassLoaderDelegationTest.ParentLoader, but
> is is, so the tests fail.
> 
> I have made a mod to change the path to look in, should
> now work in gump.

Yes, this sounds like a clean solution.  The alternative would have
been to disable the test based on the property
tests.are.on.system.classpath.

Stefan

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


Mime
View raw message