- In the exec task, it is possible to set environment variables as nested
elements.
   http://jakarta.apache.org/ant/manual/CoreTasks/exec.html

 - I don't know if ant can change its own set of environment variables while
running.
If you are making a build file where a number of tasks are going to require
some environment variables,
maybe you should make a wrapper shell script for your build file which sets
the environment variables.

Yours

----- Original Message -----
From: "Klara Ward" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 5:35 PM
Subject: Setting environment variables with ant?


> Is it possible to set environment variables with ant?
>
> /klara
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


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

Reply via email to