ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16611] - ant is confused when os.name returns "Windows Server 2003" and tries to exec "command.com"
Date Thu, 30 Jan 2003 20:10:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16611>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16611

ant is confused when os.name returns "Windows Server 2003" and tries to exec "command.com"





------- Additional Comments From jolly.chen@bea.com  2003-01-30 20:10 -------
I'm running a pre-release version of BEA's JRockit.  We will be returning the
os.name string of "Windows Server 2003" as I imagine a number of other VMs will
as well.

In fact, we found the problem because our build file croaked on <property
environment="env"/>    It generated a java.io.FileNotFoundException because 
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec was trying to
fork an "command.com" to determine the environment variables.  That's how I
tracked it down to Os.java and saw the explicit check for nt/2000/xp in the name.

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


Mime
View raw message