I'm defining the '<path id='myID'"> ... </path>' from an XML file and then using '<ant antfile="external.xml" target="all" inheritall="true">' to call another XML file which knows how to build build my classes. If the path id is defined in the 'external' XML it works fine, but if defined in the calling XML I get an error. Do you know if these can be in separate XML's and if so, why I'm getting this error?
–
JeachMay 29 '12 at 3:57

It's worth reading this after the one that was chosen as Best Answer (by @William Brendel). Thanks :)
–
userSep 14 '12 at 15:21

It's still rather sad there are at least three different ways to do this in Ant, but the more the merrier, right? (A third would be to include a fully qualified classpath within javac, a fourth would be to make a partial classpath that partially references another one... etc.)
–
userSep 14 '12 at 18:17

Just to clarify, the second one doesn't work, at least where TSA.classpath is a <fileset>.
–
StockBApr 29 '13 at 20:26