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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to