On Wed, 6 Jul 2005 08:59:57 -0400, Mark Lybarger wrote:
>I've got a macrodef, and am calling it as you mentioned, I just can't seem
>to figure out how to conditionally call the subant only if hte file
>exists...?
Use a fileset, not a buildpath, if the fileset is empty, subant should be a
NOP.
I've got a macrodef, and am calling it as you mentioned, I just can't seem
to figure out how to conditionally call the subant only if hte file
exists...?
On 7/5/05, Juergen Hermann <[EMAIL PROTECTED]> wrote:
>
> On Tue, 5 Jul 2005 10:29:34 -0400, Mark Lybarger wrote:
> >
On Tue, 5 Jul 2005 10:29:34 -0400, Mark Lybarger wrote:
>
>
>
>
>
>
>
use macrodef (define a macro that conditionally calls subant),
and just list the macro calls in order.
Ciao, Jürgen
-
To unsubscribe, e-mail: [EMAIL PR
> From: Mark Lybarger [mailto:[EMAIL PROTECTED]
>
> a filelist is ordered, a fileset is selective but non-ordered. i'd like to
> combine features of each, either an ordered fileset, or a selective
> filelist (don't include non-existant files).
>
> basically, i'm build war's and ear projects from
a filelist is ordered, a fileset is selective but non-ordered. i'd like to
combine features of each, either an ordered fileset, or a selective filelist
(don't include non-existant files).
in the example build.xml shown here, the default target doesn't work because
there is no baz.xml, but the d