I found a great Ant tip over at
http://andrewbeacock.blogspot.com/2005/08/pretty-printing-java-classpaths-using.html
With it you can debug your classpath references quite nicely.