ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanesamoorthy Balakumar" <b...@beyondm.net>
Subject Re: How to set a new Environment variable from build.xml
Date Tue, 09 Jul 2002 04:24:03 GMT
You can use <exec> tag for this purpose.
There is an arguments called env,which will pass the environment variable
via system command.

Bala.

----- Original Message -----
From: "X3J 1657" <x3j1657@hotmail.com>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, July 09, 2002 10:00 AM
Subject: How to set a new Environment variable from build.xml


> How do I set environment variables using ANT?
>
> I have two targets in the same build.xml that would build two modules for
> me.
> To build Module "A", one of the environment variable PROJDIR should point
to
> "C:\TEMP1" folder.
> To build Module "B", the same environment variable PROJDIR should point to
> "C:\TEMP2" folder.
>
> Any help/references would be appreciated.
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


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


Mime
View raw message