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 26770] New: - Ant hangs on <property environment="env" /> on Windows 98
Date Sun, 08 Feb 2004 15:31:25 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=26770>.
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=26770

Ant hangs on <property environment="env" /> on Windows 98

           Summary: Ant hangs on <property environment="env" /> on Windows
                    98
           Product: Ant
           Version: 1.1
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: sdavids@gmx.de


The problem is that one cannot read environment variables directly from a
created process

Runtime.exec("command.com /C set")

will not return if you read the variables through readline().

org.apache.tools.ant.taskdefs.Execute has to be adjusted so that 

Runtime.exec("command.com /C set > env.txt")

is called. Any you construct the environment variables from the created files.

See Eclipse bug 50567 ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=50567 ) --
comments 3 & 4 -- same problem there.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message