BTW, have you ever tried that? :-)
${test}
Jan
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet am: Montag, 8. November 2004 20:53
> An: [EMAIL PROTECTED]
> Cc: Dominique Devienne; Ant Users List
> Betreff: RE: AW: How to use a FileS
Dave Pawson <[EMAIL PROTECTED]> wrote ..
> On Mon, 2004-11-08 at 17:59, Dominique Devienne wrote:
>
> >
> > Yes, filesets can be specified on their own. Jan's right, IDs can also
> > be used when a datatype is nested inside a task or another datatype,
> but
> > you don't see that very often. --DD
Specifically, I provide the following taskdef:
And then use it:
And I get a NullPointerException when using Ant 1.6.2, but
things work fine when using 1.6.0. I'm running the program
from Eclipse 3.0. The antTest.FileListerTask is in the
project's classpath.
Stack trace follows...
I'm trying to run Ant from within Java. I've used code
similar to that in org.apache.tools.ant.Main and things
worked fine in 1.6.0, but then break in 1.6.2.
I think it has something to do with class-loading/namespace
stuff, but I can't find any good documentation or anyone
who's encounter
On Mon, 2004-11-08 at 17:59, Dominique Devienne wrote:
>
> Yes, filesets can be specified on their own. Jan's right, IDs can also
> be used when a datatype is nested inside a task or another datatype, but
> you don't see that very often. --DD
So I can use the fileset (almost) as I would a proper
> From: Dave Pawson [mailto:[EMAIL PROTECTED]
> On Mon, 2004-11-08 at 15:51, [EMAIL PROTECTED] wrote:
> > like any datatypes in Ant provides a id/refid mechanism.
> > If you define a fileset giving an id you can refer to that via
refid.
> Must the fileset be within path element Jan?
>
> I'd sort
On Mon, 2004-11-08 at 15:51, [EMAIL PROTECTED] wrote:
> like any datatypes in Ant provides a id/refid mechanism.
> If you define a fileset giving an id you can refer to that via refid.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Jan
Must the fileset
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
> like any datatypes in Ant provides a id/refid mechanism.
> If you define a fileset giving an id you can refer to that via refid.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Jan
I suppose you could write the original string out to a file, use the replace
task and then use loadfile task to load the changed string into a property.
-Original Message-
From: uli [mailto:[EMAIL PROTECTED]
Sent: November 5, 2004 9:03 AM
To: Ant Users List
Subject: Re: AW: package to di
like any datatypes in Ant provides a id/refid mechanism.
If you define a fileset giving an id you can refer to that via refid.
Jan
> -Ursprüngliche Nachricht-
> Von: Hans Deragon [mailto:[EMAIL PROTECTED]
> Gesendet am: Montag,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greetings.
Newbie here with ant 1.6.2. How can I use a FileSet defined outside of my
javadoc target for specifying source files?
javadoc comes with the sourcepathref attribute, but their is no
sourcefilesref attribute. How can I perform a simi
This works for me:
-- Rich Wagner
Jon Jagger wrote:
Suppose I have a target naming two or more dependent targets.
...
is there any way to name the dependent target names other than in a
comma separate list? I'd prefer it if I could somehow name them one
per line.
Thanks
Jon Jagger
---
Suppose I have a target naming two or more dependent targets.
...
is there any way to name the dependent target names other than in a
comma separate list? I'd prefer it if I could somehow name them one per
line.
Thanks
Jon Jagger
Hi,
I'm using a package based structure, where each package has a target,
like so:
where run-test is a macrodef task that builds the package, then builds
the tests for the package, then runs the tests. I'd like to avoid the
obvious duplication. One idea is rather than the current:
>ant a.b
14 matches
Mail list logo