ant-user mailing list archives

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

if nothing else works you may still go via =

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


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:
For additional commands, e-mail:

View raw message