Hi, i've had a similar problem
see = http://marc.theaimsgroup.com/?l=ant-user&m=110691291123439&w=2 for a solution, if you don't want to use concat/replace ... Since i needed to put in a property i changed the example of Jan to take a property. Gilbert -----Original Message----- From: Nir Geier [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 11:18 AM To: Ant Users List Subject: Looking for task to add text to file. Hi all, Im trying to append text to file and I could't find any suitable task for doing so. As a workaround im using the 'Replace' task. (http://ant.apache.org/manual/CoreTasks/replace.html) Another option is the 'Concat' ( http://ant.apache.org/manual/CoreTasks/concat.html ) but it is limited to the start/end of file while i need to place the text in a certain place in the file. As far as i know there isnt any made task to this problem. I wonder maybe someone have any other solution. in the worst case i will write my own task but I'm short on time. TY all inadvance. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]