ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freier, Rod" <>
Subject RE: javac classpath issues
Date Wed, 05 Feb 2003 16:04:11 GMT
I tried <property build.sysclasspath="ignore" />, but both ANT 1.4 and
1.5.1 gave me this:  'The <property> task doesn't support the
"build.sysclasspath" attribute.' What's up?

Rod Freier
ACS Web Team

-----Original Message-----
From: Zac Thompson [] 
Sent: Wednesday, February 05, 2003 7:26 AM
To: Ant Users List
Subject: RE: javac classpath issues

>>> It turns out I need to ignore the CLASSPATH environment 
>>> variable in the shell in which ant was run and give it 
>>> a completely different classpath.

>> You need to set the includeAntRuntime="false"

> That worked!

Be careful ... this will not exclude the CLASSPATH as you asked,
it will only exclude the Ant run-time libraries.

You want to set <property build.sysclasspath="ignore" /> in your
init target (on which all others depend).  Or you can specify it
at the command line if you don't have an init target.


"The person running the build trusts the build file writer to 
get the build file right."


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message