RE: AW: Modify xml file

2009-01-21 Thread Brian Agnew
tech-solutions.com] >>> Sent: Wednesday, January 21, 2009 2:36 PM >>> To: Ant Users List >>> Subject: Re: AW: Modify xml file >>> >>> Just as a followup, I do a similar thing as #3 in a project I am >>> ANT'ing, and if you are not replacing in

AW: AW: Modify xml file

2009-01-21 Thread Jan.Materne
5:23 >An: Ant Users List >Betreff: RE: AW: Modify xml file > >You should exercise caution when using replace to substitute >tokens in xml files and property files because some chars >&<>'" need to be escaped in xml files. > >You need to be sure that the st

Re: AW: Modify xml file

2009-01-21 Thread Blaine Simpson
My favorite way is to use unicode escapes. Not only does it work for every character you will need (visible or not visible), but unicode escapes work for all XML, properties, and even Java source files (using different syntax, as explained below). For Ant build files: "&#" + 2_DIGIT_DECIMAL_NUMBE

RE: AW: Modify xml file

2009-01-21 Thread Alec Fernandez
rian Stephenson [mailto:bstephen...@thortech-solutions.com] >> Sent: Wednesday, January 21, 2009 2:36 PM >> To: Ant Users List >> Subject: Re: AW: Modify xml file >> >> Just as a followup, I do a similar thing as #3 in a project I am >> ANT'ing, and if you are

Re: AW: Modify xml file

2009-01-21 Thread Brian Stephenson
[mailto:cabre...@terra.es] Gesendet: Mittwoch, 21. Januar 2009 13:43 An: user@ant.apache.org Betreff: Modify xml file Hello list. I'm using Hibernate in my web project. I've created an Ant file in order to create a war and deploy it to my remote tomcat. The problem is locally I test my databa

AW: Modify xml file

2009-01-21 Thread Jan.Materne
che Nachricht- >Von: jeusdi [mailto:cabre...@terra.es] >Gesendet: Mittwoch, 21. Januar 2009 13:43 >An: user@ant.apache.org >Betreff: Modify xml file > > >Hello list. > >I'm using Hibernate in my web project. I've created an Ant >file in order to >creat

Modify xml file

2009-01-21 Thread jeusdi
assword to access to database with. So, I need to change these fileds previously to war task. How Can I to it? Thanks. I will appreciate your help a lot. -- View this message in context: http://www.nabble.com/Modify-xml-file-tp21582407p21582407.html Sent from the Ant - Users mailing list