This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have an ant build file from which I would call another task defined in another build file. While calling another ant, I'm supplying a property say "execute" set to true. I need to have the task executed only when execute == "true".
I need to have packageZip target to be executed only when property "execute" is true. I tried options like "if", "unless" but not successful so far. Because I do not want to have impact on other build files that are calling createTar. I see recommendations on using condition, but not sure how to do that.