Despite the fact that it comes from my company, it is in fact completely
free. Such is the magic of open source etc.
I have long looked at making an 'enterprise-level' version with huge
support contacts. With little success :-)
ca_iancu wrote:
This is a commercial library. I want to use existing functionality from Ant
to accomplish this task. I am certain it is possible, I just do not know Ant
well enough yet. There has to be some sort of loop that can be created to
read from a file line by line and stop when a certain string is encountered.
I can copy and edit the teaxt once I have it in a variable.
Rebhan, Gilbert wrote:
-----Original Message-----
From: ca_iancu [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2008 3:22 PM
To: user@ant.apache.org
Subject: how to copy and edit a section of a text file
/*
Hello, I'm trying to edit an XML file by searching with regular
expressions.
Once found, the text will be copied, changed and appended at the end (or
beginning) of the aforementioned found text.The lines I am looking for
have
the following format:
...
*/
Maybe xmltask / xpath is an option !?
see =
http://www.oopsconsultancy.com/software/xmltask/
Regards, Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Brian Agnew http://www.oopsconsultancy.com
OOPS Consultancy Ltd brian @ oopsconsultancy.com
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012