ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "query" <search2...@rediffmail.com>
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}"/>
</exec>
<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 <ninju_bohra@yahoo.com>
To: Ant Users List <user@ant.apache.org>
Subject: Re: Re: Settting environment variables

Mime
View raw message