Reading environment variables in ant script directly

2009-12-29 Thread Raja Nagendra Kumar
Hi, Is it possible to read OS environment variables directly in ant script without the line As ant is java and by default all the ant variables would be passed to JRE on each java invocation, I am looking for a way to get the value of the property variables directly. Why another line if I cou

RE: running shell script on unix

2009-12-29 Thread Rez P
Here's the rule for naming targets: A target name can be any alphanumeric string valid in the encoding of the XML file. The empty string "" is in this set, as is comma "," and space " ". Please avoid using these, as they will not be supported in future Ant versions because of all the confus

RE: running shell script on unix

2009-12-29 Thread Rez P
I don't the reason but I do know that you cannot have spaces in target names! Your target name should have underscores or dashes or other characters instead of spaces: NOT: Date: Mon, 28 Dec 2009 10:33:59 +0100 > From: reno.rkc...@free.fr > To: user@ant.apache.org > Subject: Re: running she