AW: Replacing value in an XML file using replaceregexp

2019-10-19 Thread jhm
.@ant.apache.org > Betreff: Replacing value in an XML file using replaceregexp > > I want to replace three values from files(12467abc,12467def,12467xyz). > > IF( TEXT( $User.ABC_USR_Brand__c )="Maruti", > "/servlet/servlet.FileDownload?file=12467abc", >

Replacing value in an XML file using replaceregexp

2019-10-16 Thread Om Omkar
I want to replace three values from files(12467abc,12467def,12467xyz). IF( TEXT( $User.ABC_USR_Brand__c )="Maruti", "/servlet/servlet.FileDownload?file=12467abc", IF ( TEXT($User.ABC_USR_Brand__c )="Maruti Suzuki", "/servlet/servlet.FileDownload?file=12467def", "/servlet/servlet.FileDownload?fil

Having trouble using replaceregexp with DIR locations as string to replace

2011-10-25 Thread himanshu
correct value should be as below *set TEST_DIR=C:\home\dir2* .. i am using this command in my ant build file.. " " .. ..PLZ help -- View this message in context: http://ant.1045680.n5.nabble.com/Having-trouble-using-replaceregexp-with-DIR-locations-as-string-to-replace-tp4935484p49

Using replaceregexp with a positive lookbehind regular expression

2008-05-01 Thread Anthony Bargnesi
Hello, Here is the replaceregexp call: As you can see I wrote the regular expression: * (?<=\#\[SYD\-DATASOURCE\]\s)disabled\s=\sfalse* To match text like the following: *.. (line break) #[SYD-DATASOURCE] disabled = false .. .. * When testing this regular expression out in a

How to prevent processing of with the whitespace compression task using ReplaceRegExp

2007-02-16 Thread Rashmi Rubdi
Hello, I'm using white space compression as illustrated here : http://ant.apache.org/manual/OptionalTasks/replaceregexp.html , with Ant 1.6.5 , my original purpose for using whitespace compression was to reduce the size of the WAR file so that it could be uploaded faster to a production enviro

Re: Issue using ReplaceRegExp

2005-11-08 Thread Andrew Goktepe
ul to > you. > > --Pritesh > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, October 21, 2005 6:58 PM > To: user@ant.apache.org > Subject: AW: Issue using ReplaceRegExp > > Regexp could something around >

RE: Issue using ReplaceRegExp

2005-11-08 Thread pritesh.saharey
parts created:"? Can anyone give a snipet of code for this problem, I will be thankful to you. --Pritesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 6:58 PM To: user@ant.apache.org Subject: AW: Issue using ReplaceRegExp Regexp co

AW: Issue using ReplaceRegExp

2005-10-21 Thread Jan.Materne
>"[java] parts created:" >with "Size" >than How can I go ahead, should /\[java\] parts created:/Size/ >One more thing there is "ant-apache-regexp.jar" file in ant's >lib directory. Means, that JAR needs an other file - the regexp-implementation. >Just wanted to know that I need to upgr

RE: Issue using ReplaceRegExp

2005-10-21 Thread pritesh.saharey
d to upgrade my jdk1.3 to jdk1.4 or this will work? Thanks, Pritesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 6:58 PM To: user@ant.apache.org Subject: AW: Issue using ReplaceRegExp Regexp could something around /.*parts creat

AW: Issue using ReplaceRegExp

2005-10-21 Thread Jan.Materne
ual. Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 21. Oktober 2005 15:09 >An: user@ant.apache.org >Betreff: Issue using ReplaceRegExp > > >Hi All, > I am trying to use ReplaceRegExp but f

Issue using ReplaceRegExp

2005-10-21 Thread pritesh.saharey
Hi All, I am trying to use ReplaceRegExp but finding it difficult to cope with it. There is a log.txt file generated from my build.xml using record task which looks like this; log.txt --- [java] Done! [java] [java

Re: Using ReplaceRegExp

2004-12-22 Thread Peter Reilly
Antoine Levy-Lambert wrote: What I wonder is whether you can even define a custom filter reader on the fly in a build file using JavaScript (not sure, might be possible only for tasks ???). One can apply an in-line filter reader by using a scriptfilter. http://ant.apache.org/manual/CoreTypes/filt

Re: Using ReplaceRegExp

2004-12-21 Thread Antoine Levy-Lambert
for tasks ???). Cheers, Antoine Matt Harp wrote: I'm using ReplaceRegExp to do some file mods and it's just too cool, except I can't figure out to have it re-evaluate a line in a file after it's already been evaluated. For example... I have a line in my file like this.

Using ReplaceRegExp

2004-12-21 Thread Matt Harp
I'm using ReplaceRegExp to do some file mods and it's just too cool, except I can't figure out to have it re-evaluate a line in a file after it's already been evaluated. For example... I have a line in my file like this. symbol Fred%20Barney%20Wilma%20; So, I wan

Re: Problem with codepage conversion using ReplaceRegExp

2003-10-08 Thread Duncan McNaught
I set the encoding parameter in Ant1.6 to MS932 and also tried "Shift_JIS" - (Japanese) and it puts "?" in the file in the place of all the Japanese Characters. It is supposed to read and write with the encoding set? Thanks --Duncan --- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Tue, 7 Oct 2003