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
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
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
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
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 the XML file using regular
expressions (e.g., you are just replacing 'password="foo"' with
'password="bar"'), you may be able to accomplish what you need to do
with the much simpler-to-
There are multiple options:
1. create two hibernate files and select only one of them while copying using
conditional patternset .
2. create a template and fill in the the values
3. modify the config file with
4. modify the config file with (external task)
Jan
>-Ursprüngliche Nachrich