ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: Text Scripting
Date Fri, 11 Aug 2006 13:51:46 GMT

The best was is to write a quick and dirty Java App using Xerces and take a look at the DOM
sample files specifically DOM3/DOMAddLines or GetElementsByTagName example
You can then implement by call your app using the java tag

I would stay away from is a nightmare to implement as well as debug and decidedly
non object oriented (although there is an OO version floating about somewhere in the cosmos)

I can help you out this weekend if need be,
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

> Hi,
> I have some text files that I have to parse and modify, can anyone
> advise the best way to do this - ANT commands, ANT Tasks, call to PERL
> or some other scripting language? The scripts will be fairly complex
> including pattern searching, text replacement, text sorting etc.
> Regards,
> Mike S.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
View raw message