Hi. stupid problem. a lot of time taken away. the main problem is not in Ant. it is in the xerces 2. two options fixes 1. build xerces from the trunk. it works for me. but I do not know what kind of correction affected. 2. edit /usr/share/ant/bin/ant, by removing the substring "/usr/share/java/xmlParserAPIs.jar :/usr/share/java/xercesImpl.jar" (roll back the patch 0003-add-Xerces-from-Debian-s-path.patch).
Aleksey Dobrunov