ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Blaukopf <Daniel.Blauk...@Sun.COM>
Subject Set up a path based on conditions?
Date Tue, 21 Mar 2006 11:53:38 GMT

I need to create a path containing elements which

i) don't exist yet

and ii) vary according to what properties are set.

Ideally, I would do this:

<filelist id="myfiles" dir="mydir">

    <file name="A" if="include.A"/>

    <file name="B" if="include.B"/>

    <file name="C"/>


None of A, B, or C exist at the time I need to build the list, so as far
as I can tell <fileset> is not an option.

However,  the <file> element in <filelist> doesn't have an "if" attribute.

Can anyone suggest another way of getting to the same result?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message