ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DHARNA, AJAY [AG/1000]" <>
Subject Using ant to parse text file
Date Thu, 22 Feb 2007 06:03:37 GMT
Hi all 

I am using Ant 1.6.5 - I would like to parse a text file that would contain
the following information: 




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 is any simple way of doing this using Ant. 

Thank you 

Ajay Dharna 

This e-mail message may contain privileged and/or confidential information, and is intended
to be received only by persons entitled to receive such information. If you have received
this e-mail in error, please notify the sender immediately. Please delete it and all attachments
from any servers, hard drives or any other media. Other use of this e-mail by you is strictly

All e-mails and attachments sent and received are subject to monitoring, reading and archival
by Monsanto. The recipient of this e-mail is solely responsible for checking for the presence
of "Viruses" or other "Malware". Monsanto accepts no liability for any damage caused by any
such code transmitted by or accompanying this e-mail or any attachment.

  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message