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" Summary: ant is confused when os.name returns "Windows Server 2003" and tries to exec "command.com" Product: Ant Version: 1.5.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] For Windows JVM's that return "Windows Server 2003" as their os.name property, ant gets confused and thinks it's an Win9x box. Then it tries to exec "command.com" instead of "cmd.exe", causing an error. The following small change in org/apache/tools/ant/taskdefs/condition/Os.java is a workaround. A mild kludge that's good enough for this century (or until they re-brand windows again...) =) 223c223 < osName.indexOf("20") >= 0 || --- > osName.indexOf("2000") >= 0 || --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]