.@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",
>
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
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
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
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
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
>
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
>"[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
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
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
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
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
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.
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
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
15 matches
Mail list logo