ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "query" <>
Subject Fwd: Re: Re: Settting environment variables
Date Wed, 09 May 2007 09:37:29 GMT
I again tried to set PATH and INCLUDE env variables. But when I echo the env variables after
modifying the variables, changes are not reflected in the log file.
My ANT script change is:
property environment="env"/>
<exec executable="cmd">
      <env key="include" path="${new.includepath}"/>
<echo message ="include=${env.include}"/>

Similarly I have tried for Path env variable. But it is not working.

If there is any other way to set variables, please let me know. Due to this issue, it is hampering
my work.........

Note: Forwarded message attached

-- Original Message --

From: Ninju Bohra <>
To: Ant Users List <>
Subject: Re: Re: Settting environment variables

View raw message