Ant properties are generally immutable.  Why not call each of your
compile tasks with <antcall> and pass this variable as a <param> of this
<antcall>?


-----Original Message-----
From:   Ramasubbu, Hari
Sent:   Fri 12/28/2001 5:55 PM
To:     Ant-User@Jakarta. Apache. Org (E-mail)
Cc:     
Subject:        Setting Environment Variables

I need to set a system environment variable before a task.
i.e FooVariable must be set to "foovalue" from the build xml.
I know that i can pass env variables to executables thru the exec -env
nested tasks,
but i wanna update this system variable before each VB or VC++ compile
task.




Attachment: winmail.dat
Description: application/ms-tnef

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

Reply via email to