Re: AW: Conditional target problem

2010-08-19 Thread Niklas Matthies
On Thu 2010-08-19 at 09:59h, Vimil Saju wrote on user: > I read about the new macrodef task which can be used create a custom > composite task by combining other tasks together. Using the macrodef > task instead of antcall cant we overcome the performance overhead > and the property visibility issu

Re: AW: Conditional target problem

2010-08-19 Thread Matt Benson
; visibility issues with antcall? > Certainly, aside from the fact that macrodef is not really that new, having been released with Ant 1.6 IIRC. ;) -Matt > --- On Thu, 8/19/10, Knuplesch, Juergen wrote: > > From: Knuplesch, Juergen > Subject: AW: Conditional target problem >

Re: AW: Conditional target problem

2010-08-19 Thread Vimil Saju
wrote: From: Knuplesch, Juergen Subject: AW: Conditional target problem To: "Ant Users List" Date: Thursday, August 19, 2010, 8:03 AM Antcallback gives back some props you define -Ursprüngliche Nachricht- Von: Niklas Matthies [mailto:ml_ant-u...@nmhq.net] Gesendet: Mittwoch,

AW: Conditional target problem

2010-08-19 Thread Knuplesch, Juergen
Antcallback gives back some props you define -Ursprüngliche Nachricht- Von: Niklas Matthies [mailto:ml_ant-u...@nmhq.net] Gesendet: Mittwoch, 18. August 2010 15:55 An: Ant Users List Betreff: Re: Conditional target problem On Tue 2010-08-17 at 16:20h, Vimil Saju wrote on user: > I k

Re: Conditional target problem

2010-08-18 Thread Niklas Matthies
I filed an enhancement request related to this topic: http://issues.apache.org/bugzilla/show_bug.cgi?id=49776 -- Niklas Matthies - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...

Re: Conditional target problem

2010-08-18 Thread Niklas Matthies
On Tue 2010-08-17 at 16:20h, Vimil Saju wrote on user: > I know ant is supposed to be declarative language as opposed to a > procedural one, but whats wrong with using the 'if' task provided > with ant-contrib along with "ant-call" task? AntCall effectively creates a new Ant instance. Properties a

AW: Conditional target problem

2010-08-18 Thread Knuplesch, Juergen
Von: Niklas Matthies [mailto:ml_ant-u...@nmhq.net] Gesendet: Mittwoch, 18. August 2010 00:35 An: user@ant.apache.org Betreff: Conditional target problem We have something like the following (target bodies omitted):

Re: Conditional target problem

2010-08-17 Thread Vimil Saju
Vimil Saju Subject: Re: Conditional target problem To: "Ant Users List" Date: Tuesday, August 17, 2010, 4:20 PM I know ant is supposed to be declarative language as opposed to a procedural one, but whats wrong with using the 'if' task provided with ant-contrib along with &qu

Re: Conditional target problem

2010-08-17 Thread Vimil Saju
wrote: From: Niklas Matthies Subject: Conditional target problem To: user@ant.apache.org Date: Tuesday, August 17, 2010, 3:35 PM We have something like the following (target bodies omitted):                                                 The problem: "ant -Drelease.number=...

Conditional target problem

2010-08-17 Thread Niklas Matthies
We have something like the following (target bodies omitted): The problem: "ant -Drelease.number=... target1" causes checkout-sources (and its dependencies) to be executed although there is no need for it, as release.number is already def