This discussing brings back the still pending issue of having a generic if/unless on all tasks/types to name just an example...
failonerror, if/unless, ant:type, and some other attributes most likely, control 'aspects' of the build, that should be dealt with in a single place!
Now that Ant is namespace-aware, and can make use of the reserved ant: namespace (I know it's not the prefix but the namespace name that matters...), and now that the way was opened with ant:type, then it is probably time to also add ant:if, ant:unless, ant:failonerror, etc...
I think the followon to Ant1.6 is time to add that. It would give us an excuse to call that followon Ant2.0, too.
These meta-attributes could be used on any XML elements of the build file, and the attributes equivalent to them in the few tasks where they're hand-written could be deprecated.
Seems to me Ant has all the elements to do AOP without the need to use AspectJ. Just my usual $.02 of course ;-) --DD
agreed.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]