> 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
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
On 30/06/2010 08:25, shindito wrote:
> I've set flags to g=global, but still not working. I've tryed all flags...
> It only replaces the first regexp on the line.
Please try changing byline="true" to byline=false (or just let it default)?
From:-
http://www.jajakarta.org/ant/ant-1.6.1/docs/en/man
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
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 example:
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
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
Hi,
I think some of your message got cut off... Is there any way you can think
of to specify the line break literally in the xml attribute?
(Using the line.separator property works by the way!)
Thanks,
Alex
On 7/17/06, Scot P. Floess <[EMAIL PROTECTED]> wrote:
I think that should work. Basi
I think that should work. Basically, I think the problem is that the
XML attribute is being taken literally so \n is literally a backslash and n
Stefano Marsili wrote:
Hi Alex,
I didn't test it, but you could try
replace="${line.separator}${line.separator}"
Stefano Marsili
http://www.efan
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 whatever matches
> my pattern with 2 line brea
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?
day, December 12, 2003 12:55 AM
Subject: RE: A new twist on "Problem with the replaceregexp task!!!"
I'm attempting to reverse this process and replace a character with a new
line.
Does not give me the desired result. Instead, I get the literal characters,
"r"
a
17 matches
Mail list logo