ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48915] New: ant -diagnostics fails when xerces or xalan are not available
Date Mon, 15 Mar 2010 15:04:32 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48915

           Summary: ant -diagnostics fails when xerces or xalan are not
                    available
           Product: Ant
           Version: 1.8.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: caster@gentoo.org


This is the output of ant-1.7.1 with no xerces/xalan on classpath:

...
 XML Parser information
-------------------------------------------
XML Parser : com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
XML Parser Location: /opt/sun-jdk-1.6.0.18/jre/lib/rt.jar
Namespace-aware parser :
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
Namespace-aware parser Location: /opt/sun-jdk-1.6.0.18/jre/lib/rt.jar
...



This occurs with 1.8.0:
...
-------------------------------------------
 XML Parser information
-------------------------------------------
[ends with error code 1]



This is with 1.8.0 when xerces is available but xalan not:
...
-------------------------------------------
 XML Parser information
-------------------------------------------
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location: file:/usr/share/xerces-2/lib/xercesImpl.jar
Namespace-aware parser : org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser
Namespace-aware parser Location: file:/usr/share/xerces-2/lib/xercesImpl.jar

-------------------------------------------
 XSLT Processor information
-------------------------------------------
[ends with error code 1]


I think this is a regression? 1.7.1 could detect the XML parser bundled in the
JDK just fine, 1.8.0 fails (although it works just fine otherwise, only
-diagnostics fails). And the absence of xalan also should not be a reason to
abruptly end the diagnostics, especially if it's an optional library not
bundled in standard -bin download (so it fails out of the box) ?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message