Ubuntu "ant" alters the SAX configuration

Bug #876091 reported by jsalvata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ant (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ant - 1.9.4-3ubuntu1

---------------
ant (1.9.4-3ubuntu1) vivid; urgency=medium

  * Revert back to using libgnumail-java to avoid inclusion of Maven
    in Ubuntu main.
 -- James Page <email address hidden> Tue, 27 Jan 2015 16:35:45 +0000

Changed in ant (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.