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.