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 5980] - Ant "exec'ing" broken on Windows w/J2SE1.4RC
Date Wed, 23 Jan 2002 20:54:35 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=5980>.
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=5980

Ant "exec'ing" broken on Windows w/J2SE1.4RC





------- Additional Comments From wette_d@ociweb.com  2002-01-23 20:54 -------
I've found the fix. The Execute class treats Windows XP like 95/98 rather than 
like NT/2000 for purposes of exec'ing shell commands. using the Ant1.5alpha, a 
changed 2 occurrences in org.apache.tools.ant.taskdefs.Execute from            

  if ( osname.indexOf("nt") >= 0 ||  osname.indexOf("2000") >= 0) {

to 

  if ( osname.indexOf("nt") >= 0 || 
       osname.indexOf("2000") >= 0 ||
       osname.indexOf("xp") >= 0) {

Now it seems to work correctly again.

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