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 6471] New: - Bug in Execute under Java 1.4 and Windows XP
Date Thu, 14 Feb 2002 17:37:01 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=6471>.
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=6471

Bug in Execute under Java 1.4 and Windows XP

           Summary: Bug in Execute under Java 1.4 and Windows XP
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: mboni@mindspring.com


In the file org.apache.tools.ant.taskdefs.Execute.java, the static initializer 
tries to pick a CommandLauncher based on System.gerProperty("os.name").

However, under Java 1.4 and Windows XP, the property "os.name" that is 
returned is "Windows XP", not "Windows 2000" or "Windows NT".  This results in 
a 16-bit CommandLauncher being used, rather than a 32-bit, and commands 
subsequently fail to execute properly (16-bit NTVDM error).

I first ran into this bug when trying to use <property environment="myenv" />

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


Mime
View raw message