Debugging Ant classpaths can be a bit of a pain, but the following link shows you how to print them out:
http://www.javalobby.org/java/forums/t71033.html
Even better, you can do a pretty version using:
http://blog.andrewbeacock.com/2005/08/pretty-printing-java-classpaths-using.html