| Settting environment variables | Settting environment variables 2007-05-09 - By query
? 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@(protected)> To: Ant Users List <user@(protected)> Subject: Re: Re: Settting environment variables
<P> <BR> 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.<BR> My ANT script change is:<BR> property environment="env"/><BR> <exec executable="cmd"><BR> <env key="include" path="${new .includepath}"/><BR> </exec><BR> <echo message ="include=${env.include}"/><BR> <BR> Similarly I have tried for Path env variable. But it is not working.<BR> <BR> If there is any other way to set variables, please let me know. Due to this issue, it is hampering my work.........<BR> <BR> <BR> Note: Forwarded message attached<BR> <BR> -- Original Message --<BR> <BR> From: Ninju Bohra <ninju_bohra@(protected)><BR> To: Ant Users List <user@(protected)><BR> Subject: Re: Re: Settting environment variables<BR>
</P> <br><br> <Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style='font -family:Verdana;font-size:11px;line-height:15px;'><TR><td><a href='http:/ /adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm /1050715198@(protected)/1105834_1100164/1105050/1?PARTNER=3&OAS_QUERY=null target =new '><img src =http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/1105834 _1100164/creative_1105050.gif alt='578x38_salary.gif' border=0></a></td></TR>< /Table> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |