Re: Overriding ant task

2010-07-05 Thread Sony Antony
Thank you David : Your sugegstion as it is will not work for me as once I copy teh files, I wont have teh names ( I mape them ). But Im convinced that your approach in general is better than changing eth source code. So I decided to use filter chains. Basically I m trying to first copy the files

Re: Overriding ant task

2010-07-04 Thread David Weintraub
Seems like a lot of work. Why not do the task with the filter, then use a mechanism to test the copied files to see if any tokens exist. You can use the command with the filter to see if any tokens (Pattern = /@\w+@/) exists in the files just copied. If you do find such files exist, you can fai

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