AW: Conditional dependencies

2007-03-20 Thread Jan.Materne
>Hmmm. [Ant newbie thinking] Just as there is a "fail" task, could >there not be a "succeed" task added that would cause the >enclosing task replace with ;-) Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Conditional dependencies

2007-03-20 Thread Wayne Cannon
Hmmm. [Ant newbie thinking] Just as there is a "fail" task, could there not be a "succeed" task added that would cause the enclosing task to simply return as though it were successful. This would be a general purpose tool that could be invoked conditionally for any number of reasons. It wou

RE: Conditional dependencies

2007-03-20 Thread Yves Martin
On Mon, 2007-03-19 at 22:20 -0400, Brown, Carlton wrote: > I don't mind doing that for one-offs. But for a dependency graph of 7 > or more targets... no thanks! But I guess there's not much choice > since I can't think of any other good way to do it. I know it is ugly but in development this

RE: Conditional dependencies

2007-03-20 Thread Gilles Scokart
ting the script). Gilles > -Original Message- > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > Sent: mardi 20 mars 2007 3:21 > To: Ant Users List > Subject: RE: Conditional dependencies > > I don't mind doing that for one-offs. But for a dependency graph of

RE: Conditional dependencies

2007-03-19 Thread Brown, Carlton
March 19, 2007 10:08 PM To: Ant Users List Subject: RE: Conditional dependencies I use a combination of .only targets and .skip properties to "essentially" accomplish this. ant dist.only jar.only OR ant dist -Dcompile.skip=1 -Dclean.skip=1 -Original Message- From: Brow

RE: Conditional dependencies

2007-03-19 Thread Murray, Mike
Users List Subject: RE: Conditional dependencies I guess I didn't specifically say this, but I need the targets, if they run, to run in order of dependency. There is no guarantee that an arbitrary list of targets will run in a certain order. It would be really nice if there were an option to s

RE: Conditional dependencies

2007-03-19 Thread Brown, Carlton
[mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 8:47 PM To: 'Ant Users List' Subject: RE: Conditional dependencies You could make all the targets independent and specify a blank delimited list of targets on the command line. Bill -Original Message- From: Murray, Mike [mai

RE: Conditional dependencies

2007-03-19 Thread bill/wilandra
You could make all the targets independent and specify a blank delimited list of targets on the command line. Bill -Original Message- From: Murray, Mike [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 2:34 PM To: Ant Users List Subject: RE: Conditional dependencies I sympathize

RE: Conditional dependencies

2007-03-19 Thread Murray, Mike
Users List Subject: Conditional dependencies There's a build behavior pattern I keep hitting, but I don't know how to resolve in Ant. How can I specify a dependency chain among targets such that the dependency chain can be "short-circulted" with a property that prevents all

Conditional dependencies

2007-03-19 Thread Brown, Carlton
There's a build behavior pattern I keep hitting, but I don't know how to resolve in Ant. How can I specify a dependency chain among targets such that the dependency chain can be "short-circulted" with a property that prevents all the others from being resolved? For example, lets say I have this