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 28874] - Execute class has buggy patchEnvironment() implementation
Date Wed, 16 May 2007 20:34:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28874>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28874





------- Additional Comments From gudnabrsam@yahoo.com  2007-05-16 13:34 -------
(In reply to comment #3)
> <exec ...
>   <env key="Path" value="new\paths;${env.Path}" />
>   <env key="PATH" value="new\paths;${env.PATH}" />
> 

Long story short, I think you just picked the wrong workaround.  :(  The more common way to
work 
around this would be:

<property environment="env" />
<property name="env.PATH" value="${env.Path}" />
<!-- now you know that whichever version was in the env, env.PATH now has its content -->
...

<exec ...>
  <env key="PATH" path="new\paths;${env.PATH}" />
</exec>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message