Re: Fwd: AW: Re: Re: Settting environment variables

2007-05-10 Thread Steve Loughran
query wrote: I am having Windows2000 in my system. Here path and include env variables are identified as "Path" and "include". Only if I try with Path and include, ANT will echo the original path. If I use PATH, log file displays Property "env.PATH" has not been set [echo] PATH is set to

Fwd: AW: Re: Re: Settting environment variables

2007-05-10 Thread query
arded message attached -- Original Message -- From: <[EMAIL PROTECTED]> To: Subject: AW: Re: Re: Settting environment variables --- Begin Message --- You cant set env variables in . start a new process. Env variables are only visible in that process. If that process quits the variables are

AW: Re: Re: Settting environment variables

2007-05-09 Thread Jan.Materne
Ant Users List; query >Betreff: Re: Re: Re: Settting environment variables > >using embedded env > > >use in property > > > > >note..the env variable is case-sensitive >so path is not Path is not PATH >M-- >This email message and any files transmitted w

Re: Re: Re: Settting environment variables

2007-05-09 Thread Martin Gainty
List Subject: Re: Re: Settting environment variables -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Fwd: Re: Re: Settting environment variables

2007-05-09 Thread query
s 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 <[EMAIL PROTECTED]> To: Ant Users List Subject: Re: Re: Settting environment

Re: Re: Settting environment variables

2007-04-20 Thread Ninju Bohra
st Cc: Ninju Bohra <[EMAIL PROTECTED]> Sent: Friday, April 20, 2007 2:21:38 AM Subject: Re: Re: Settting environment variables When I tried to use in and task, build compilation is failing with the following errors. javac doesn't support the nested "sysproperty" element

Re: Settting environment variables

2007-04-20 Thread Charles Paulet
Instead of using exec, you can use shellscript tag from ant-contrib (http://ant-contrib.sourceforge.net/tasks/tasks/shellscript.html) : export myvar=myvalue my_exec my_param query wrote: When I tried to use in and task, build compilation is failing with the following errors

Re: Re: Settting environment variables

2007-04-19 Thread query
 When I tried to use in and task, build compilation is failing with the following errors. javac doesn't support the nested "sysproperty" element. exec doesn't support the nested "sysproperty" element. It looks like that element is supported only with . But I want to set env variables for

Re: Re: Settting environment variables

2007-04-19 Thread query
 When I tried to use in task, it build compilation is failing with the following error. javac doesn't support the nested "sysproperty" element. On Thu, 19 Apr 2007 Ninju Bohra wrote : >Hello, > >By the time ANT starts, the PATH and INCLUDE environment variables values are >set (by the ant.

Re: Settting environment variables

2007-04-19 Thread Ninju Bohra
Hello, By the time ANT starts, the PATH and INCLUDE environment variables values are set (by the ant.bat or OS command script) and can not be altered. However if one you target needs to start seperate process (, , , etc...) you can control the value of the enviroment variables that the child p

Re: Settting environment variables

2007-04-19 Thread Martin Gainty
the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 19, 2007 10:11 AM Subject: RE: Settting environment variables Propert

RE: Settting environment variables

2007-04-19 Thread Kajsa.Anderson
Propertys in Ant are immutable, so you can't reset the value (with vanilla Ant - ant-contrib may let you). Depending on what you need the system property for, though, you may be able to use . Kajsa -Original Message- From: query [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 200