You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/03/15 16:04:32 UTC

DO NOT REPLY [Bug 48915] New: ant -diagnostics fails when xerces or xalan are not available

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.

DO NOT REPLY [Bug 48915] ant -diagnostics fails when xerces or xalan are not available

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48915

Vlastimil Babka (Caster) <ca...@gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Vlastimil Babka (Caster) <ca...@gentoo.org> 2010-03-18 20:23:37 UTC ---


*** This bug has been marked as a duplicate of bug 48782 ***

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