Re: Target unless question

2009-08-14 Thread Scot P. Floess
David: Thanks - I know all this :) I didn't go into much explanation - just simplified it down... But, to be specific - I have this build environment with many empty targets that are later defined (by scripts who import this one) that do processing specific to the target - for example I have

Re: Target unless question

2009-08-13 Thread David Weintraub
On Thu, Aug 13, 2009 at 3:09 PM, Scot P. Floess wrote: > > I was under the impression that using an unless attribute on a target will > not run the target if that property is set... However, if there are is a > depends attribute defined, the targets in the depend are run regardless? > Remember:

RE: Target unless question

2009-08-13 Thread Scot P. Floess
Shawn: Thanks a bunch... So, I just refactored some of my targets - I have some preprocess/process/postprocess targets and a "catch all" that depends on the aforementioned. I was "hoping" to selectively skip the processing assuming a property was set - oh well. Guess I'll add a depends whe

RE: Target unless question

2009-08-13 Thread Shawn Castrianni
The if/unless apply to the target they are specified on ONLY. They do not have any effect on the depends targets. I don't like this either. I posted about this very subject earlier this year. Here is a link to it: http://www.nabble.com/ANT-enhancements-td24028826.html --- Shawn Castrianni