Re: Using shell command in ANT script

2010-11-24 Thread Sony Antony
Put the command inside a shell script and exec the shell script from your build.xml --sony On Wednesday, November 24, 2010, Tim Visher wrote: > On Wed, Nov 24, 2010 at 4:48 AM,   wrote: >> I want to use the following shell command in my build.xml file >> >> ls -l ../../../jobs/ | awk '{ print $9

Re: Reusing property values in a properties file

2010-07-11 Thread Sony Antony
Beware of this bug,https://issues.apache.org/bugzilla/show_bug.cgi?id=44226 If you have a property line like this in your properties file used for filter.. XXX=jhkhk y...@xxx@ukjlj...@xxx@ ( @XXX@ appearing multiple times above ) ... you will get in trouble that has been fixed in ant 1.8, I thi

Re: Overriding ant task

2010-07-05 Thread Sony Antony
files exist, you can fail the build. > > On Sun, Jul 4, 2010 at 7:17 PM, Sony Antony wrote: >> Hi : >> Im trying to modify the task so that if a token seen in the >> file being copied, is undefined in teh , the build will >> fail.. >> ( It will a

Overriding ant task

2010-07-04 Thread Sony Antony
Hi : Im trying to modify the task so that if a token seen in the file being copied, is undefined in teh , the build will fail.. ( It will also list all teh undefined tokens encountered against the corresponding file name ) 1. Was there an way to do this without writing java code ? 2. I have alre