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 6456] New: - Ant does not support Windows XP
Date Thu, 14 Feb 2002 09:41:44 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=6456>.
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=6456

Ant does not support Windows XP

           Summary: Ant does not support Windows XP
           Product: Ant
           Version: 1.4.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: Andre.Kramer@eu.citrix.com


Ant defaults to Windows 9x behaviour which breaks building the Java Web 
Service developer pack (JWSDP-EA should show that it's simpler to build-cross 
platform Web Services than be limited to one). In Execute.Java at line 229, 
The Windows NT / 2000 logic should have "xp" added. It may be better to make 
the default similar to 2000, rather than 9x, as all future windows OSs could 
be NT decendent. Better still, could Ant pre-configure itself from an config 
file? A quick fix is to include -Dos.name="Windows XP" on the Ant java command 
line. 
 /* Execute.java line 229: */
        else if ( osname.indexOf("indows") >= 0 ) {
            // Determine if we're running under 2000/NT or 98/95
            if ( osname.indexOf("nt") >= 0 || osname.indexOf("2000") >= 0 
/* Add XP case: */
                 || osname.indexOf("xp") >= 0
) {
                // Windows 2000/NT
                String[] cmd = {"cmd", "/c", "set" };
                return cmd;
            }
            else {
                // Windows 98/95 - need to use an auxiliary script
                String[] cmd = {"command.com", "/c", "set" };
                return cmd;
            }
        }

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