> After replacement, replaceregexp task overrode the permissions.
It does, as do or or any other task where Ant creates a
file by itself.
Historically this all stems from Java not providing access to
permissions of files or directories at all. Neither reading permissions
nor writing t
replacement, replaceregexp task overrode the permissions.
I found below article that mentions this behavior as well:
https://hmemcpy.com/2014/06/when-good-permissions-gone-bada-case-of-a-failed-build/
Is there an ANT task that I can use that will replace and retain the
permissions of the file ? I
.@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
Hi,
We are having exactly same issue in ANT.
Any idea how to resolve it?
Thanks,
Erez Inchy.
Build Developer.
Casino & Games Builds | 888 Holdings | Herzliya Pituach, Israel.
P: +972-73288-8620 | m: +972-58-4321355
[Description: Description: Description: 888]
This email message and its attac
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
message in context:
http://ant.1045680.n5.nabble.com/replaceregexp-task-tp4363867p4363867.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional
.org/ant/ant-1.6.1/docs/en/manual/OptionalTasks/replaceregexp.html
( http://tinyurl.com/replaceregexp )
"
byline
Process the file(s) one line at a time, executing the
replacement on one line at a time (true/false).
This is useful if you want to only replace the first
set flags to g=global, but still not working. I've tryed all flags...
It only replaces the first regexp on the line.
Thanks for your help.
--
View this message in context:
http://old.nabble.com/replaceregexp-task-tp29031606p29031606.html
Sent from the Ant - Users mailing list a
Does Ant replaceregexp support Perl, regular or extended regular expressions?
Vielen Danke,
Martin
__
Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Please my original post. As usual, when you finally give up and make a post,
you find the problem.
In my case, the problem was I had an HTML escaping task that was called from
the parent task of the one I was working in. The HTML escaping task was
called AFTER I ran the replaceregexp that put
What is the proper way to format the replace attribute of a replaceregexp
task so that HTML < and > characters appear in the output? My problem is,
no matter how I write the attribute, my less than and greater than
characters are being written out as escaped entities in the outpu
On Tue, Dec 2, 2008 at 9:04 PM, Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> On 2008-12-02, Garrett Smith <[EMAIL PROTECTED]> wrote:
>> Why does replaceregexp designed to not take a FileList?
>
> It is the other way around. replaceregexp like most any task in Ant
>
On 2008-12-02, Garrett Smith <[EMAIL PROTECTED]> wrote:
> I want to use task replaceregexp to strip whitespace from selected jsp's.
> The problem is that I want a FileList but replaceregexp only takes a FileSet.
> Why does replaceregexp designed to not take a FileList?
I want to use task replaceregexp to strip whitespace from selected jsp's.
The problem is that I want a FileList but replaceregexp only takes a FileSet.
Why does replaceregexp designed to not take a FileList? Is there
another element that does?
Ga
<[EMAIL PROTECTED]>
To: Ant Users List
Sent: Monday, November 17, 2008 4:02:08 AM
Subject: Re: ANT replaceregexp problem
Your XML file specifies the char encoding being used (UTF-8), but I'm
guessing that the replaceregexp task won't understand this, since it's not
XML-aware
Your XML file specifies the char encoding being used (UTF-8), but I'm
guessing that the replaceregexp task won't understand this, since it's not
XML-aware. So your replacement string may be getting written out using
another encoding - most likely your default environment encodin
Hi,
I am seeing a weird problem of using replaceregexp in ANT.
Basically, for the non-English characters, they are updated even though they
are not matched by the regular expression.
The following is my original input:
- --
file
example for replaceregexp task
Hello friends,
I'm not sure if this has been mentioned but there is a slight typo in one of
the examples of the replaceregexp optional task. Or at least I could not get
the example to work in ant 1.7.0
Specifically the includes element in the fileset see
Hello friends,
I'm not sure if this has been mentioned but there is a slight typo in one of
the examples of the replaceregexp optional task. Or at least I could not get
the example to work in ant 1.7.0
Specifically the includes element in the fileset seems to cause problems in
this ex
Hi all
I have a problem when I use ReplaceRegExp task,the program as below:
the test.properties content is as below:
multiverse.location=d:\\multiverse
the InstallService.bat content is as below
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 that case, I think it's just a matter of RegExp format:
byline="true" /> (untested)
If it is for more complex matches, I don't think was
designed for it. I think that 1 call per expression to replace is the
intent.
Olivier
Original Message
Sub
Olivier, Dave
I meant to ask if it's possible with a single
that I could modify different and multiple matches of different words.
Or do I have to do multiple , twice in this case below ?
Say in a file, there are two keywords I like to modify.
sun to sunfix and moon to moonfix.
Thanks
han
start or end of string.
s : Singleline. Treat the string as a single line of input, using
"." to match any character, including a newline, which normally, it
would not match.
Olivier
Original Message ----
Subject: replaceregexp Question
From: Z W <[EMAIL PROTECT
ote:
> Hi
>
> My understanding is that 1 replacement is possible with replaceregexp.
> Eg. below
>
>
> match="fix"
>
> replace="sunfix"
>
> byline="true"/>
>
> Question:
>
> Can allow multiple matches and replacements in
Hi
My understanding is that 1 replacement is possible with replaceregexp.
Eg. below
Question:
Can allow multiple matches and replacements in a
single ,
instead of one match at a time ?
thanks
> Ok i have this:
>
> and i keep getting this error when i run my ant task
> near index 2
> \0
the match attribute should contain your regular expressions (where
btw in java '\' has to be masked with a leading '\' so it should be
'\\') not a group, a '\' followed by a digit means a specific gro
Got it
needed to use Unicode Equivilent \p{IsCntrl}
FYI for those who need it:
http://perldoc.perl.org/perlre.html
jonese
On Feb 15, 2008 3:01 PM, jonese <[EMAIL PROTECTED]> wrote:
> Ok i have this:
>
>
>
> and i keep getting this error when i run my ant task
>
> BUILD FAILED
> C:\working
Ok i have this:
and i keep getting this error when i run my ant task
BUILD FAILED
C:\working\isirv\build.xml:151:
java.util.regex.PatternSyntaxException: Illegal octal escape sequence
near index 2
\0
^
The error is pointing to whatever occurs AFTER the \0
i've tried
[\0]
\0
\0{1,}
(\0){1,}
) AND
> parent_object_id = OBJECT_ID(N'[100].[formEnvironment]'))
>
>
>
>
> jonese wrote:
> > I used Regex Coach to debug the expression and it shows it working.
> >
> > HOWEVER when run my target using -debug i get the following
> >
> > sql-gen-schema-f
ints WHERE object_id =
OBJECT_ID(N'[100].[DF_formEnvironment_adminonly]') AND
parent_object_id = OBJECT_ID(N'[100].[formEnvironment]'))
jonese wrote:
I used Regex Coach to debug the expression and it shows it working.
HOWEVER when run my target using -debug i get the follow
I used Regex Coach to debug the expression and it shows it working.
HOWEVER when run my target using -debug i get the following
sql-gen-schema-file:
[replaceregexp] Replacing pattern '\[[a-zA-Z0-1]{1,}\]' with
'[healthinteractionsbs]' in 'C:\working\healthintera
Are you sure the reg ex is working? If not, nothing will be changed in
the file...
Can you send the sql file or some snippet of it?
jonese wrote:
I have a simple build file and i'm trying to change some text in a .SQL file.
in my build file i have the following target
I know the regex i
I have a simple build file and i'm trying to change some text in a .SQL file.
in my build file i have the following target
I know the regex is good but every time i run it nothing happens to my
.SQL file.
am i missing something?
Running ant 1.7.x on Windows XP Pro
eric
Thanks for the hint.
The right part is
I changed that on SVN-HEAD.
Jan
> -Ursprüngliche Nachricht-
> Von: Ognjen Blagojevic [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 11. Dezember 2007 16:00
> An: Ant Users List
> Betreff: Documentation problem for replacerege
Hi all,
There is a documentation error in ant manual for ant task replaceregexp.
In example:
includes should be an attribute, something like this, I think:
Or maybe nasted tag, something like this
But the example anyway, wrong.
Can someone change this
Hi,
I have some ANT scripts using the 'replaceregexp' task and these need to
run inside the Rational Application Developer v6 development tool.
Regurarly I have the following exception.
BUILD FAILED:
C:\TMMEDevelopment\WHE4841\J2EEConfig\whe4841\J2EE0116\src\S01\A2P\A2P_Gui\devB
Hi Mark,
has the (maybe undocumented) id/refid concept.
Regards
Frank
Quoting Mark Modrall <[EMAIL PROTECTED]>:
Hi...
I was looking to can the fileset definitions for a
, but when I looked more closely, it seems like
1) can have a nested
2) Unlike nant, doesn't have the
>Um... You didn't explain what you're trying to do. Are you attempting
to build a PATH based upon a regular expression?
> can take patternsets in the form of a refid.
I'm trying to create a shared list of files to be operated on by
multiple tasks. I.e. one task will apply to a set of
files to
Um... You didn't explain what you're trying to do. Are you attempting
to build a PATH based upon a regular expression?
can take patternsets in the form of a refid.
On 6/4/07, Mark Modrall <[EMAIL PROTECTED]> wrote:
Hi...
I was looking to can the fileset definitions for a
, but w
Hi...
I was looking to can the fileset definitions for a
, but when I looked more closely, it seems like
1) can have a nested
2) Unlike nant, doesn't have the id/refid concept (at least
according to the docs)
3) does support id/refid and can have nested s but
doesn't seem to
le and outfile, your
html file gets modified inplace then.
you need =
bsf.jar (Bean Scripting Framwork)
http://jakarta.apache.org/bsf/
jruby.jar
http://jruby.codehaus.org/
Regards, Gilbert
-Original Message-----
From: David Jacobsen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 27, 2007 11:05
Tuesday, March 27, 2007 5:05 PM
Subject: replace and replaceregexp - Multi line tokens or substitution
expressions ?
>
> Hi,
>
> Iâ?Tm a techwriting who has been using ANT for Search/Replaces operations
> across loads of HTML files using replace and replaceregexp.
>
> Doe
Hi,
Iâm a techwriting who has been using ANT for Search/Replaces operations
across loads of HTML files using replace and replaceregexp.
Does anyone know if there is way for a token to include multiple lines? I want
to strip four lines from HTML files.
Delete me.
Iâm on Windows.
C
which is supposed to
display it's content exactly as they appear but, after whitespace compression
everything
appears on just one line - this is not a problem, except that everything inside
the tag also falls on one line.
Is there a way to tell the ReplaceRegExp task to not process any
Peter;
Thanks for the hints. I changed the pattern in my Ant build file to:
In my log file, I now get this result:
[replaceregexp] Replacing pattern '()'
with ''
in 'D:\ditaot_out\xhtml\blocks\RS08ADC8\Backu
I've done a bit more sleuthing, and perhaps I spoke too soon regarding
my installation. I was naively expecting *some* logfile output from
ReplaceRegExp even if it didn't find any pattern matches, but I was
wrong... I invoked the ant build with the -debug option and see the
following
dn't help me find what I'm looking for ...
>
> I'm trying to use the ReplaceRegExp ant task in a build file with the
> DITA Open Toolkit (http://dita-ot.sourceforge.net/). That should tell
> you that I'm *not* a Java developer; I know just enough about Ant to be
>
On 11/7/06, Beims Bob-RWBC70 <[EMAIL PROTECTED]> wrote:
Sorry for the newbie question ... I didn't find a search option @
http://mail-archives.apache.org/mod_mbox/ant-user/ and 30+ minutes with
Google couldn't help me find what I'm looking for ...
I'm trying to use the
Sorry for the newbie question ... I didn't find a search option @
http://mail-archives.apache.org/mod_mbox/ant-user/ and 30+ minutes with
Google couldn't help me find what I'm looking for ...
I'm trying to use the ReplaceRegExp ant task in a build file with the
DITA Open
Yeah, that works:
I just used the lf ascii code and that works:
On 7/18/06, Aaron Davies <[EMAIL PROTECTED]> wrote:
Oops, that should of course be &lf;.
On 7/18/06, Aaron Davies <[EMAIL PROTECTED]> wrote:
> How about using entities? Are
or
or lf; defined in th
Oops, that should of course be &lf;.
On 7/18/06, Aaron Davies <[EMAIL PROTECTED]> wrote:
How about using entities? Are
or
or lf; defined in the
XML dialect we're using?
On 7/18/06, Stefano Marsili <[EMAIL PROTECTED]> wrote:
> I strongly doubt it's the easiest way to achieve what
> you wan
How about using entities? Are
or
or lf; defined in the
XML dialect we're using?
On 7/18/06, Stefano Marsili <[EMAIL PROTECTED]> wrote:
I strongly doubt it's the easiest way to achieve what
you want, but you could write a script or define a
scriptdef that writes the \n (0x0A) to a property
I strongly doubt it's the easiest way to achieve what
you want, but you could write a script or define a
scriptdef that writes the \n (0x0A) to a property and
use it. Anyway, if you want your build to be platform
indipendent, I think ${line.separator} is still the
best choice.
Stefano Marsili
PFun
fano Marsili
> http://www.efanomars.net/pf
>
>
> --- Alex Egg <[EMAIL PROTECTED]> wrote:
>
>
>> Hi,
>>
>> I'm using the replaceRegexp ant task and I want to
>> replace whatever matches
>> my pattern with 2 line breaks.
>>
>> Right
no Marsili
http://www.efanomars.net/pf
--- Alex Egg <[EMAIL PROTECTED]> wrote:
Hi,
I'm using the replaceRegexp ant task and I want to
replace whatever matches
my pattern with 2 line breaks.
Right now I'm doing this:
match="(?<=<\/method>)\s*(
Hi Alex,
I didn't test it, but you could try
replace="${line.separator}${line.separator}"
Stefano Marsili
http://www.efanomars.net/pf
--- Alex Egg <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using the replaceRegexp ant task and I want to
> replace wha
Hi,
I'm using the replaceRegexp ant task and I want to replace whatever matches
my pattern with 2 line breaks.
Right now I'm doing this:
however, it replace the file with the \n\n as literal text. How can I
replace these w/ 2 line breaks?
t;[EMAIL PROTECTED]> wrote:
Hello David!
Sorry, my explanation was a little bit short, I guess. ;)
I wondered --- as you --- that the replaceregexp works fine in
(1) one-line-mode
but not in
(2) multi-line mode.
So, let's see what is the difference of the in
If you're trying to replace stuff in XML but only for particular nodes
(e.g. in the below you're scoping on an attribute value) then I'd suggest:
http://www.oopsconsultancy.com/software/xmltask/
and doing:
withText="true"/>
Brian
Oliver Ashoff wrote:
Hello David!
Example: Consider the f
Hello David!
Sorry, my explanation was a little bit short, I guess. ;)
I wondered --- as you --- that the replaceregexp works fine in
(1) one-line-mode
but not in
(2) multi-line mode.
So, let's see what is the difference of the inputs!
Outline:
(1)
Dear Oliver,
Thanks for your interest on my problem. Concerning to your comment, I don't
understand wery will, please could you be a little bit more explicit.
As far as I understand, I think you mean to include the new line character on
the match expression. I was tested this too, wi
. :)
Regards,
Oliver
> -Ursprüngliche Nachricht-
> Von: David [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 17. Mai 2006 11:59
> An: Ant Apache User Group
> Betreff: How to use replaceregexp in multi-line context?
>
> Dear members,
>
> I wou
Dear members,
I would like to use the ant task replaceregexp in order to replace tablespace
information on my sql scripts, my input file is some think like this:
CREATE INDEX IX_2_lra_country
ON @[EMAIL PROTECTED] (be_code)
PCTFREE10
INITRANS 2
MAXTRANS 255
TABLESPACE
I'm using replaceregexp in Ant 1.6.5 to transform one string to another.
It's working perfectly but I'm having trouble making it do one small thing.
I'm trying to put a tab at the beginning of the replacement string but
nothing I do seems to get interpreted as a tab in t
n my log.txt file altough now I am not getting
> any error message and ant console output is showing me
>
> try-rep:
> [replaceregexp] Replacing pattern '/\[java\] parts created:' with 'Size='
> in 'D:\pvcsAnt\log.txt' by line.
>
> I am totally c
I tried using the pattern something like this;
But I am seeing no changes in my log.txt file altough now I am not getting any
error message and ant console output is showing me
try-rep:
[replaceregexp] Replacing pattern '/\
>"[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
Hi,
Jeffrey E Care wrote:
> Play around with the @flags & @byline; I think those will be able to solve
> your problem.
>
yup =
did it.
Thanks !!
bye4now, Gilbert
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Play around with the @flags & @byline; I think those will be able to solve
your problem.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Gilbert Rebhan <[EMAIL PROTECTED]> wrote on 10/18/2005 01:41:02 PM:
> Hi,
>
> i want to
Hi,
i want to change one line in a txtfile.
1. if txtfile is like =
foo=bar
bla=bla
works as it should, gives me =
foo=bar
bla=bla:123456
2. but if txtfile is like =
foo=bar
bla=bla
foobar=foobar
means the line to be altered is not the last line
my snippet above gives me =
fo
rom: Neil Benn [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 25, 2005 9:55 PM
> > To: Ant Users List
> > Subject: Re: ReplaceRegExp with windows filenames
> >
> > /*
> > [...]
> >
> > So, it seems if I use ReplaceRegEx on the
enn [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 25, 2005 9:55 PM
> To: Ant Users List
> Subject: Re: ReplaceRegExp with windows filenames
>
> /*
> [...]
>
> So, it seems if I use ReplaceRegEx on the file or load the file
> into a property and if I use one or two back
Hi,
-Original Message-
From: Neil Benn [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 25, 2005 9:55 PM
To: Ant Users List
Subject: Re: ReplaceRegExp with windows filenames
/*
[...]
So, it seems if I use ReplaceRegEx on the file or load the file
into a property and if I use one
next to me!!) - will post to anywhere in the world ;-).
Cheers,
Neil
On 8/25/05, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
> -Original Message-
> From: Neil Benn [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 24, 2005 11:19 PM
> To: Ant Users List
Hi,
-Original Message-
From: Neil Benn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 11:19 PM
To: Ant Users List
Subject: Re: ReplaceRegExp with windows filenames
/*
Thanks for the tip - however it still does the same thing -
it seems like the backslashes are
Documents\\svnfiles\\trunk
\\DropPaq
[replaceregexp] Replacing pattern 'C\:\\.*\\DropPaq' with 'C:\\Documents and Set
tings\\Neil Benn\\My Documents\\svnfiles\\trunk\\DropPaq' in 'C:\Documents and S
ettings\Neil Benn\My Documents\svnfiles\trunk\DropPaq\installer\CE\DropPaq.inf
Assuming that having double backslashes in the basedir would solve your
problem, you could use the propertyregex task from ant-contrib to use a
second property with that substitution:
...
Yes, there are 8 backslashes in the 'replace' attribute value. That is how
many I needed to end up with
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 Settings\Neil Benn\My
Docu
Thanks Chad, that did the trick perfectly!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Fri, July 22, 2005 2:43 pm, Chad Armstrong said:
> Hi Frank,
> The * looks a little weird below in the "match" string, * means 0 or
> more of the
On Fri, 22 Jul 2005 14:36:22 -0400 (EDT), Frank W. Zammetti wrote:
regex != glob ==> s/*/.*/
>Hi all... having some trouble getting a regex replace to work... I have a
>JSP which contains the following line:
>Version 3.0Build
>306301/01/2005
>I have a task in my build script like so:
>match="<
Hi Frank,
The * looks a little weird below in the "match" string, * means 0 or
more of the preceding character, which I don't think is what you want.
Try it with .* instead and see if that helps.
Chad
On 7/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Hi all... having some trouble getti
Hi all... having some trouble getting a regex replace to work... I have a
JSP which contains the following line:
Version 3.0Build
306301/01/2005
I have a task in my build script like so:
But, nothing is getting replaced. The file exists and is found, and all
the properties are properly define
Hi,
had a similar problem, i've parsed a file
with regular expressions successfully,
but the changing of '\' with '/' via
regular expressions didn't work.
so i used after my regexp part =
...
...
and it worked.
HTH
Regards, Gilbert
Neeraj Kumar wrote:
> input: c:/foo/bar
>
> desired
Why not use ?
http://ant.apache.org/manual/CoreTasks/pathconvert.html
-- Larry
-Original Message-
From: Neeraj Kumar [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 16, 2005 5:57 AM
To: Ant Users List
Subject: replaceregexp issue: replace forward slash with backward slash
input: c:/foo
input: c:/foo/bar
desired output: c:\foo\bar
code:
I'm getting an error. How do I achieve the desired output?
Thanks.
- Neeraj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 6/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> -
> +
>
I'm pretty sure that the patch needs to be "
+
should be
+
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
>An: user@ant.apache.org
>Betreff: Error in replaceregexp example
>
>
>
>
>
>The help doc for replaceregexp shows and example of a fileset.
> The nested element is incorrect. This should
>be element. I'm thinking the
>author was intending th
The help doc for replaceregexp shows and example of a fileset. The
nested element is incorrect. This should be element. I'm thinking the author was intending
the includes attribute of the task itself perhaps.
Michael G
The help doc for replaceregexp shows and example of a fileset. The nested
element is incorrect. This should be element. I'm thinking the author was intending the
includes attribute of the task itself perhaps.
Michael G
H, David
-Original Message-
From: Nicolas Vervelle [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005 23:36
To: user@ant.apache.org
Subject: replaceregexp on multiple lines
Hi,
I have a file containing several times something like (xx is
different) :
...
For some of them (depending o
s a greedy quantifier. Try
'*?' (reluctant quantifier).
HTH, David
-Original Message-
From: Nicolas Vervelle [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005 23:36
To: user@ant.apache.org
Subject: replaceregexp on multiple lines
Hi,
I have a file containing several times s
Hi,
I have a file containing several times something like (xx is
different) :
...
For some of them (depending on "xx"), I want to keep only the
...<.a> part.
For the others, I wan to completely remove them.
I tried this :
but the problem if pattern is first matched with the text between
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
1 - 100 of 104 matches
Mail list logo