ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Wilhelm <Curt.Wilh...@Sun.COM>
Subject Re: Windows XP
Date Wed, 18 Sep 2002 17:38:37 GMT
> 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,

I was able to work around the problem using this workaround.

ANT_OPTS=-Dos.name=Windows_NT

Note the underscore in the value.  Java had a problem parsing the 
property with a space.  The value can also be WindowsNT or Windows_2000, 
Windows2000.

Thanks for all your help.

-- 
Curt Wilhelm
Sun ONE Studio - Release Engineering
tel: x69245 - 925-264-4278
cell: 925-323-8931
email: Curt.Wilhelm@Sun.Com


--
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