ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <...@schillbaer.de>
Subject Re: How to refer PATH environment variable in <exec> Ant task
Date Sun, 03 Dec 2006 08:53:23 GMT
Hi,

if nothing else works you may still go via =

<target name="main">
    <exec dir="..." executable="the/whole/path/to/java.exe">
<arg line="..." />
    </exec>

  </target>

Regards, Gilbert


Ravi Roy wrote:
> 
> I want to refer the environment variable in created in Windows XP using
> <exec> Ant task, but it does not seem to refer that.
> 
> My purpose is to run java.exe along with executing the application and
> referring ZIP/JARs by the application at execution time from the PATH
> variable.

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


Mime
View raw message