You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Pellier, Marc" <Ma...@atosorigin.com> on 2003/02/07 14:52:58 UTC
set environnement variables
Is it possible to set a system variable via Ant ?
If yes how
thanks
****************************************************************************
Disclaimer:
This electronic transmission and any files attached to it are strictly
confidential and intended solely for the addressee. If you are not
the intended addressee, you must not disclose, copy or take any
action in reliance of this transmission. If you have received this
transmission in error, please notify the sender by return and delete
the transmission. Although the sender endeavors to maintain a
computer virus free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages
resulting from any virus transmitted.
Thank You.
****************************************************************************
Re: set environnement variables
Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Pellier, Marc wrote:
> Is it possible to set a system variable via Ant ?
> If yes how
>
Only for processes you create from <ant> with exec. Checkout the <env>
element of the <exec> task
http://ant.apache.org/manual/CoreTasks/exec.html
Conor