Public bug reported: The ant launch script (ant-1.8.1-1) contains these Debian-specific lines, which alter the environment enough for some tests which pass in other environments to fail in Ubuntu:
if [ -z "$LOCALCLASSPATH" ] ; then LOCALCLASSPATH="/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar" else LOCALCLASSPATH="/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:$LOCALCLASSPATH" fi In my case, the Scala compiler build was failing (at target test.scaladoc). It worked after commenting out these lines. ** Affects: ant (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876091 Title: Ubuntu "ant" alters the SAX configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ant/+bug/876091/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs