https://bz.apache.org/bugzilla/show_bug.cgi?id=62143
--- Comment #4 from Stefan Bodewig <[email protected]> --- I'm afraid Ant is simply not designed to be used that way. It uses all jars from $ANT_HOME/lib and places them on its CLASSPATH. If you don't specify ANT_HOME explicitly it will use the "ant" shell scripts grandparent directory (the script assumes it lives in $ANT_HOME/bin in that case). I don't think it is possible to adapt Ant to your directory layout without breaking the "expected" installation layout. You could place Ant's own jars in a different "lib" directory and set ANT_HOME explicitly. But that would defeat your tree idea and you could simply install Ant outside of your directory structure. To be honest I'm surprised it works for the other tools. Sooner or later you will have different versions of the same jar or only one version but that is in conflict with the version others expect. This probably is what you see when you add the Ant libraries to your lib folder, it seems that adding Ant's jars breaks Maven, for example. -- You are receiving this mail because: You are the assignee for the bug.
