Have you considered using a macrodef and elements?
Maybe something like:
Then you can supply whatever you want in as long as it
adheres to allowances
Jeremy Weber wrote:
Hi All,
I have created dozen of custom tasks before, but find myself
Hi All,
I have created dozen of custom tasks before, but find myself struggling
with this one. I wish to create a task that does the following:
1. Accepts a file attribute to represent the absolute path of a file
contains comma separated absolute paths.
a. this file name will be read in,
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
I don't want to sound like a broken record (!) but at the risk of sounding
like one, this is precisely what XMLTask will do (including inserting XML
with non-root nodes into existing documents, appending XML elements and
fragments incrementally etc.).
Anyway - that's my lot for the moment :-)
Bri
Hi, I'm fairly new to Ant and would appreciate some advice:
I have targets in a number of build files that all set the same group of
system properties for different junit tests. The values set will always be
the same as the system properties are set from ant properties loaded from a
properties fi
James Fuller schrieb:
On Thu, May 1, 2008 at 4:01 PM, Guy Catz <[EMAIL PROTECTED]> wrote:
Thanks guys, that's very helpful.
But, once I've used echoxml to write into a file, can I use it again to
add more values, in append mode?
the above would not be valid xml
with something li
On Thu, May 1, 2008 at 9:15 AM, James Fuller
<[EMAIL PROTECTED]> wrote:
> On Thu, May 1, 2008 at 4:01 PM, Guy Catz <[EMAIL PROTECTED]> wrote:
> > Thanks guys, that's very helpful.
> >
> > But, once I've used echoxml to write into a file, can I use it again to
> > add more values, in append mo
On Thu, May 1, 2008 at 4:01 PM, Guy Catz <[EMAIL PROTECTED]> wrote:
> Thanks guys, that's very helpful.
>
> But, once I've used echoxml to write into a file, can I use it again to
> add more values, in append mode?
yes but an xml file with no root parent is invalid xml ;)
e.g. if u just append
Thanks guys, that's very helpful.
But, once I've used echoxml to write into a file, can I use it again to
add more values, in append mode?
I need to add values to my XML file in different tasks, not in one
place.
Please advice,
Thank you very much,
Guy.
-Original Message-
From:
Guy Catz wrote:
Hi.
What I actually need, is to write data into a XML file, so I will be
able to render this XML to a HTML as a report.
The XML structure is something I know.
ant > 1.7.0 =
your xml goes here
ant < 1.7.0 =
maybe you need to use =
or
if you want to write to an
Guy Catz wrote:
Hi.
What I actually need, is to write data into a XML file, so I will be
able to render this XML to a HTML as a report.
The XML structure is something I know.
Thanks.
There is an task that takes well formed XML and echoes it.
foo
One thing you have
11 matches
Mail list logo