ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Windows XP
Date Fri, 13 Sep 2002 08:07:26 GMT
On Wed, 11 Sep 2002, Curt Wilhelm <Curt.Wilhelm@sun.com> wrote:

> We tried ant -Dos.name="Windows NT" and that still causes the script
> to fail.

That sets an Ant property named os.name, not the system property.

To set the system property, the -D... stuff neds to come on the java
command line in front of Ant's main class.  You can achieve that by
setting the ANT_OPTS environment variable.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message