RE: Using ant to parse text file

2007-02-23 Thread Rebhan, Gilbert
Jan >-----Ursprüngliche Nachricht- >Von: Kevin Jackson [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 23. Februar 2007 03:31 >An: Ant Users List >Betreff: Re: Using ant to parse text fi

Re: Using ant to parse text file

2007-02-22 Thread Kevin Jackson
Hi, If you don't want to write a custom task in java, you could also try and use a scripting language of your choice http://ant.apache.org/manual/OptionalTasks/scriptdef.html Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Using ant to parse text file

2007-02-22 Thread Ninju Bohra
Y [AG/1000]" <[EMAIL PROTECTED]> To: Ant Users List Sent: Thursday, February 22, 2007 9:58:05 AM Subject: RE: Using ant to parse text file I have looked at the property task as well - but I will not be able to change the file format. I used the

RE: Using ant to parse text file

2007-02-22 Thread DHARNA, AJAY [AG/1000]
t back the line number - I could use the headfilter to get this next line. Thank you Ajay Dharna -Original Message- From: Kevin Jackson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 1:59 AM To: Ant Users List Subject: Re: Using ant to parse text file > [Sample.txt] &g

Re: Using ant to parse text file

2007-02-21 Thread Kevin Jackson
[Sample.txt] Test1 Group=red Test2 Group=blue Test3 Group=green Example:- If I was to provide the value "Test2", I would like the Ant to search for "Test2" in the file, and return the value "blue". If I provide the value - "Test3", it should return the value "green" Please let me know if there