Re: Basic question re Antform and conditional execution of tasks

2010-02-26 Thread Rhino
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

Re: Basic question re Antform and conditional execution of tasks

2010-02-26 Thread Patrick Martin
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

Re: Basic question re Antform and conditional execution of tasks

2010-02-25 Thread Patrick Martin
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

Basic question re Antform and conditional execution of tasks

2010-02-24 Thread Rhino
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