Thanks much for the ANT_OPTS setting. That did the trick. The only problem is as soon as I got it compiled, I did build.sh test... and you guessed it found a test failing under 1.1

AvailableTest dies on test21:

I looked at the xml file for this test and it seems that the classpath they have defined assumes that jarfiles are in the ${java.home}/lib directory, but the 1.1 from blackdown isn't organized this way. Also there are some funky looking absolute paths that don't make any sense to me, but I assume they are for some special case I don't appriciate.

This doesn't impact my work, and I don't have time to fix it, but someone might want
to look at it.


Gus

As food for thought here is the xml bit for test21, the test case simply tests that test=="true".

<target name="test21">
<available property="test" ignoresystemclasses="true"
classname="java.awt.Graphics">
<classpath>
<pathelement location="${java.home}/lib/rt.jar" />
<pathelement location="${java.home}/lib/classes.jar" />
<pathelement location="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes/classes.jar" />
<pathelement location="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes/ui.jar" />
</classpath>
</available>
</target>



Stefan Bodewig wrote:

On Tue, 28 May 2002, Patrick Heck <[EMAIL PROTECTED]> wrote:

What 1.1 jdks are currently used to test the back compatability of
ant?


I use Blackdown's 1.1.8_v3 on Linux.

Oh, and I use

ANT_OPTS=-mx256m ./bootstrap.sh

to get around the OutOfMemoryException 8-)

Stefan




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



Reply via email to