Re: Scripting language recomendation for using

2006-09-17 Thread Neil Benn
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

Re: Reading properties

2006-01-10 Thread Neil Benn
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 -

Re: ReplaceRegExp with windows filenames

2005-08-27 Thread Neil Benn
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

Re: ReplaceRegExp with windows filenames

2005-08-27 Thread Neil Benn
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

Re: ReplaceRegExp with windows filenames

2005-08-25 Thread Neil Benn
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

Re: ReplaceRegExp with windows filenames

2005-08-24 Thread Neil Benn
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

ReplaceRegExp with windows filenames

2005-08-22 Thread Neil Benn
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