You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/09/29 20:12:40 UTC

DO NOT REPLY [Bug 23496] New: - Not picking up environment variables?

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=23496>.
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=23496

Not picking up environment variables?

           Summary: Not picking up environment variables?
           Product: Ant
           Version: 1.5.4
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: jason@semanticresearch.com


Using the ant bundled w/Eclipse 3.0 M3 (v1.5.4) on Mac OS X 10.2, environment variables seem to 
be ignored and interpreted as literal strings. For example:

<property environment="env"/>
...
<echo message="JBOSS_HOME is set to = ${env.JBOSS_HOME}"/>

should print (on my box)...

"JBOSS_HOME is set to = /usr/local/jboss"

instead it prints...

"JBOSS_HOME is set to = ${env.JBOSS_HOME}"

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