Hi all
I copy files from a m/c thro copy task. These jars and zip files will be
used in my class path for the next build (which run junit tests). All these
process are scheduled. But sometimes file copied gets corrupted or not
copied properly. All my tests in my next build fails. What I wanted is
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
Subject: Re: replaceregexp
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
Hi Sam,
From my point of view, a solid approach would simply be to override
Ant's task with a new attribute like "setempty", set to
"false", or "true" depending on the convenience, by default... Then use
to define your overriding class as the task.
Olivier
Original Message
You should use in order to replace all
occurences, or use combination of flags described below, as taken
directly from Ant user manual
(http://ant.apache.org/manual/OptionalTasks/replaceregexp.html):
flags
The flags to use when matching the regular expression. For more
information, co
You can do this with filterchains while copying:
http://ant.apache.org/manual/CoreTypes/filterchain.html
Read up on that and play around with it. I've done it before, but
unfortunately, I can't give you the exact details.
On Feb 19, 2008 1:55 PM, Z W <[EMAIL PROTECTED]> wrote:
> Hi
>
> My underst
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
are you referring to tasks or targets? I think what you want to find out
abt is a target.
If its a target, then you can use the task to import common
definitions of tasks, properties, etc.
hth,
Vijay
jpyork wrote:
I know you can inherit properties, but can you do this with tasks also? I am
Hi everyone,
is there a task that can check if two ear files are the same. I want to
mess around with the build file a bit, so I would like a tool to
be able to compare a reference ear (from an old build) with the one
being built at the moment.
I tried to use condition's filesmatch task and th
Jan
> -Ursprüngliche Nachricht-
> Von: jpyork [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 19. Februar 2008 15:43
> An: user@ant.apache.org
> Betreff: Inheriting tasks?
>
>
> I know you can inherit properties, but can you do this with
> tasks also? I am
> trying to make a gener
I know you can inherit properties, but can you do this with tasks also? I am
trying to make a generic script, so say I have 5 scripts that all do the
task "init" that deletes a classes folder and recreates it. Is there a way
I can create a master file and put this task in the master file and hav
Just use the
(http://ant.apache.org/manual/CoreTasks/concat.html) task to create your
property file in any way you like.
Sam.
Z W <[EMAIL PROTECTED]> wrote: Hi
I have a list of properties in a properties file.
I like to write these property values into a file to be used as an input to
a shell
You may want to look at the echo command. You should be able to use something
like:
Property_Name : ${Property_Name}
You can create fairly complex files this way. You may have to set append to
false for the first echo just in case you are re-using the file.
Z W <[EMAIL PROTECTED]> wrote: Hi
I
I am attempting to migrate a large ANT build system from 1.6 to 1.7 and
am running into a problem with xmlproperty.
We use xmlproperty massively in our build system and very often "stack"
several xmlproperty calls in order to build a complex property 'tree',
where several inter-dependent build f
Murray, Mike wrote:
Can anyone tell me why the exec task, whether or not spawned, hangs in
parallel calls? It works fine if I pass -DthreadCount=1. It appears
the higher the threadCount used, the quicker it will hang, since
-DthreadCount=2 works for a while, but threadCount=5 hangs immediately.
David Brown wrote:
Hello Steve, this is the wrong ML so I will keep it short. I have complete
steps 1 and 2 below. There is not if any traffic on the smartfrog-users ML. I
cannot the the smarfrog or sfDaemon to start to be able to complete step #3.
What is the best venue to get some advice? Pl
16 matches
Mail list logo