[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    RE: Setting Environment Variables
From:       "Steve Cohen" <SteveC () ignitesports ! com>
Date:       2001-12-29 5:00:46
[Download RAW message or body]

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:=09
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.





["winmail.dat" (application/ms-tnef)]

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic