ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen" <>
Subject RE: Setting Environment Variables
Date Sat, 29 Dec 2001 05:00:46 GMT
Ant properties are generally immutable.  Why not call each of your
compile tasks with <antcall> and pass this variable as a <param> of this

-----Original Message-----
From:	Ramasubbu, Hari
Sent:	Fri 12/28/2001 5:55 PM
To:	Ant-User@Jakarta. Apache. Org (E-mail)
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

View raw message