Perhaps we could add an attribute to property
to force the env names to be uppercasized:
<property environment="env" upcase="yes"/>

so <echo>${env.PATH}</echo>
will always give the correct value

Peter

On 12/2/06, Dominique Devienne <[EMAIL PROTECTED]> wrote:
>          <exec dir="${project.root}/classes" executable="java.exe">
>             <env key="PATH" path="${env.PATH}" />

Your pb is likely related to the case of the PATH env. var. Ant is
case sensitive, but on Windows PATH is not, and can be written Path or
path, or whatever. You also need to use the same case for your new
process than the current process' case for that variable, otherwise
strange things happen.

Lookup the archives for discussions from myself and Peter Reilly about
this. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to