Bug 6471 - Bug in Execute under Java 1.4 and Windows XP
Summary: Bug in Execute under Java 1.4 and Windows XP
Status: RESOLVED DUPLICATE of bug 6456
Alias: None
Product: Ant
Classification: Unclassified
Component: Core (show other bugs)
Version: 1.4.1
Hardware: PC other
: P3 major (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-14 17:37 UTC by Mike Boni
Modified: 2008-02-22 12:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Boni 2002-02-14 17:37:00 UTC
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" />
Comment 1 Stefan Bodewig 2002-02-14 17:43:49 UTC

*** This bug has been marked as a duplicate of 6456 ***