Hello,
You will get 1001 different answers to this question. Personally
I use Jython for this kind of thing as it has the java library but also adds
the nice extra stuff from python which makes writing small scripts verey
easy. You also get to learn a bit about (J|P)ython which can be
Hello,
I had a simialr problem to this, if you cannot switch \ to / (I
had a problem that I needed to replace a path whihc became a commadn line).
I ended up having to put four \ to replace one \. This ended up being two
for java and two for a regex although you are not using regexs -
ashes:
In addition, you also need to escape the : bit.
Right off to the pub now! Thanks all for your help.
Cheers,
Neil
On 8/27/05, Neil Benn <[EMAIL PROTECTED]> wrote:
> Hello,
>
>Cheers for that - however that's not gonna w
k.
I'm completly utterly stumped here - I need to have backslashes in
a file and I cannot for the life of me work out what to do here!
Cheers,
Neil
On 8/26/05, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> -----Original Message-
> From: Neil B
Hello,
Thanks for the responses Gilbert and Andrew, a concise
description of the issue I have is that I have a section such as :
1 = ,"DropPaqEtc",,"C:\Documents and Settings\Neil Benn\My
Documents\svnfiles\trunk\DropPaq\installer\CE" ; The etc directory
which co
nyone know of one?
Here's the verbose output I get :
init:
[property] Loading C:\Documents and Settings\Neil Benn\.ant.properties
replace_inf_paths:
[echo] C:\Documents and Settings\Neil Benn\My Documents\svnfiles\trunk\Drop
Paq
[echo] C:\\Documents and Settings\\Neil Benn\\My
Hello,
I need to make an ant task which will go into a file, look
for a pattern and replace it with the contents of the ${basedir}
variable.
I have the following xml to do this:
The target text is :
1 = ,"DropPaqEtc",,"C:\Documents and Settin