Hi, Thx for the pointer. But since I'm using oher people's build file (eclipse PDE build) this is not an option.
And even though the <if> is quite useful there are time where if/unless are less verbose and more handy. tom -----Original Message----- From: Knuplesch, Juergen Sent: Montag, 18. Januar 2010 13:11 To: Ant Users List Subject: AW: ant log/output vs. unless/if on a target Hello, The workaround is to use antconribs <if> task to do what "if/unless" does. Greetings Juergen -- Jürgen -----Ursprüngliche Nachricht----- Von: Thomas Menzel Gesendet: Montag, 18. Januar 2010 12:34 An: user@ant.apache.org Betreff: ant log/output vs. unless/if on a target Hi, Maybe I just don't know enough and this already works, but it would be really great if ant would tell by default that a target isn't executed because of an if/unless. I just stumbled over this when I wanted to turn a target off that I'm calling with <antcall> and was wondering and debugging why the target was still executed since it showed up in the log. (the target produces no log-output itself). I first had the idea that mentioning of the target should be suppressed completely but I 2nd that thought since it is good to know the dependency graph, so I'm settling for a hint that the target isn't executed. Suggestions: <tareget-name>: (target skipped) // this is the normal version <tareget-name>: (skipped due to [if failed] [unless succeeded]) // this is the verbose version Any opinions on that? --- tom --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org