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!
On 21 February 2006 23:52, Anderson, Rob (Global Trade) wrote:
> If the existance of a file is your condition, use a combination of
> , ,
> [...]
Thanks, I already implemented it using macros and task. Making
it the way you suggest would be kinda ugly in my case, since I need
to repeat the same
17, 2006 7:04 AM
> To: user@ant.apache.org
> Subject: conditional execution
>
> Hi,
>
> Is it possible to do some sorts of conditional execution of
> tasks other than and scripts
> (require extensions)?
>
> I need things like if file exists, do this, else do that
On 17 February 2006 17:55, Matt Benson wrote:
> --- Paul Pogonyshev <[EMAIL PROTECTED]>
> wrote:
>
> > On 17 February 2006 17:07, Burgess, Benjamin wrote:
> > > Ant-contrib has an "if" task which you could use.
> > >
> > > http://ant-contrib.sourceforge.net/
> > >
> > > However, the traditional
--- Paul Pogonyshev <[EMAIL PROTECTED]>
wrote:
> On 17 February 2006 17:07, Burgess, Benjamin wrote:
> > Ant-contrib has an "if" task which you could use.
> >
> > http://ant-contrib.sourceforge.net/
> >
> > However, the traditional Ant solution is to split
> each piece of
> > functionality into
On 17 February 2006 17:07, Burgess, Benjamin wrote:
> Ant-contrib has an "if" task which you could use.
>
> http://ant-contrib.sourceforge.net/
>
> However, the traditional Ant solution is to split each piece of
> functionality into its own target, set properties based on condition,
> and use the
--Original Message-
From: Paul Pogonyshev [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 10:04 AM
To: user@ant.apache.org
Subject: conditional execution
Hi,
Is it possible to do some sorts of conditional execution of tasks
other than and scripts (require extensions)?
I need things li
Hi,
Is it possible to do some sorts of conditional execution of tasks
other than and scripts (require extensions)?
I need things like if file exists, do this, else do that. Or, if
files are equal (byte-wise), do something.
Paul
14 matches
Mail list logo