Since Ant 1.9.1 it is possible to add if and unless attributes on all tasks and nested elements using special namespaces.
In order to use this feature you need to add the following namespace declarations
xmlns:if="ant:if" xmlns:unless="ant:unless"
Read full article from If and Unless on all tasks/nested elements
No comments:
Post a Comment