Re: [help] Search a string in a file

2006-11-30 Thread Dharmesh Vyas
We have multiple solutions here now. :) . Thanks a lot for all your suggestions. - Dharmesh Vyas. On 11/30/06, Patrick Martin <[EMAIL PROTECTED]> wrote: Replying to my own email, using antcount (http://antcount.sourceforge.net/ ):

Re: [help] Search a string in a file

2006-11-30 Thread Patrick Martin
Replying to my own email, using antcount (http://antcount.sourceforge.net/): Number of Rebuild All: ${number.of.rebui

Re: [help] Search a string in a file

2006-11-29 Thread Patrick Martin
Hello, You may want to have a look at antcount : http://antcount.sourceforge.net/ Cheers, Patrick On 11/28/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: Hi, installing JRuby = you don't have to install JRuby, means no need for setting JRUBY_HOME and stuff, but for using the

RE: [help] Search a string in a file

2006-11-28 Thread Rebhan, Gilbert
Hi, installing JRuby = you don't have to install JRuby, means no need for setting JRUBY_HOME and stuff, but for using the

RE: [help] Search a string in a file

2006-11-27 Thread Rebhan, Gilbert
uilds ;-) If needed you can match 1 or 2 or 3 digits with \d{1,3} and so on ... Regards, Gilbert -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 4:46 PM To: Ant Users List Subject: RE: [help] Search a string in a file Hi, use a

RE: [help] Search a string in a file

2006-11-27 Thread Rebhan, Gilbert
Hi, use a combined with a filterchain, f.e. = test.txt abcd xyz what why Rebuild All: 1 failed, 0 skipped new world Rebuild All: 0 failed, 0 skipped techno

Re: [help] Search a string in a file

2006-11-27 Thread Scot P. Floess
You can use the task to load a whole file into a property, then apply your regular expression. Just curious...where are you getting the task? Dharmesh Vyas wrote: Hello all, Here is what I am trying to implement to identify if my build process has failed. For e.g this are the contents of t

Re: [help] Search a string in a file

2006-11-27 Thread Dominique Devienne
I have used with nested filter readers inside, like because my expected failure string was supposed to be at the end, and regexp filtering, to extract just the error status. If the resulting property was empty, the external process didn't have error, otherwise my property contained the error cou