Okay, the 'Omit_Optional_Partx' stuff works okay now that each of those
targets are in the 'buildall'. Ant apparently considers running them but
only actually executes the ones that should run, based on whether their
checkbox was selected in the AntForm.
However, there is still one BIG problem
Hello,
Indeed, if your 'Omit_Optional_Partx' targets are not part of any
depends attribute, they will not get called.
You should probably have something like:
...
...
...
...
...
Rgds,
Patrick
On Thu, Feb 25, 2010 at 6:43 PM, Rhino wrote:
> Thank you, Patrick, for your helpful sugg
Hello,
You probably want to use a booleanProperty instead of a checkSelectionProperty.
The checkSelectionProperty allows to select multiple values (you use
it only for one). It always set the property (even if empty), so your
statements will get executed as they test the property
existence and n
I was reasonably comfortable with Ant a few years ago but haven't
touched it in quite a while so I need a bit of a refresher. I've tried
looking in the manua but it always seems to answer only part of the
question so I thought I'd try here.
Among the things that my Ant script needs to do is wr
Have one target build a fileset of the modified files and give it a
refid, and also use pathconvert to assign a property containing the
contents of the fileset with setonempty="false".
Then run your copy target conditionally on the property.
Hi,
A use a copy task t
Original-Nachricht
Datum: Thu, 31 Aug 2006 14:47:39 -0300
Von: "Charles Abreu" <[EMAIL PROTECTED]>
An: user@ant.apache.org
Betreff: Conditional execution of tasks
> Hi,
>
> A use a copy task to copy modified files from one directory to another
> directory. I need
Hi,
A use a copy task to copy modified files from one directory to another
directory. I need to run another task if, and only if, at last one file was
copied. Is this possible?
Thanks!