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 Summary: Ant "exec'ing" broken on Windows w/J2SE1.4RC Product: Ant Version: 1.4.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The following is fully reproducable on Windows XP Pro. For Ant on Windows XP Pro (I don't know about other Windows flavors or Unix/Linux), if you are using the following tag: <property environment="env" /> then it will break with J2SE1.4 Release Candidate. Running a build script will stop at this tag with an error dialog as follows: 16 bit MS-DOS Subsystem C:\WINDOWS\system32\ntvdm.exe Error while setting up environment for the application. Choose 'Close' to terminate the application. and a NullPointerException is raised at: org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:142) Sun made some changes to the Runtime.exec/Process implementation (see: http://developer.java.sun.com/developer/bugParade/bugs/4244515.html) , which breaks Ant's ability to get the environement by exec'ing the DOS 'set' command. The Ant code that's broken is in: org.apache.tools.ant.taskdefs.Execute.getProcEnvCommand() I imagine may break other things as well where Ant execs shell commands. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
