Conditional disabling of unused Ant targets
I'm working on a few packages related to JBoss. One problem is that the
build files often contain targets and taskdefs which depend on lots of
external JAR files, but which are really not needed to build the package.
The problem is that Ant tries to load those external classes on each run,
even if they are not needed for the target I want to call (such
Is there a way to conditionally disable this class loading (by testing on
some property value, for example), without cutting them out of the build