DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5997>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5997

Binary incompatibility between ANT 1.4.1 & 1.3

           Summary: Binary incompatibility between ANT 1.4.1 & 1.3
           Product: Ant
           Version: 1.4.1
          Platform: All
               URL: http://checkstyle.sourceforge.net
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am finding that tasks built under ANT 1.4.1 are not binary compatible with 
ANT 1.3. I have experienced the problem developing the Checkstyle task. When 
build under ANT 1.4.1 it fails to execute under ANT 1.3 with the exception 
below.

This is becoming a major headache for people (like me) who develop third-party 
ANT tasks.

The work around is to build the task under ANT 1.3. This indicates that the 
Checkstyle task does not require any ANT 1.4.1 specific features.

To reproduce this bug, build the checkstyle from source 
(http://checkstyle.sourceforge.net) under ANT 1.4.1. Then attempt to run it 
under ANT 1.3


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
BUILD FAILED

c:\apps\checkstyle-src-1.4\build.xml:187: java.lang.NoClassDefFoundError: 
org/apache/xalan/xslt/XSLTInputSource
--- Nested Exception ---
java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTInputSource
        at 
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.createReport(XMLResultAggregator.java:114)
        at java.lang.reflect.Method.invoke(Native Method)
        at 
org.apache.tools.ant.IntrospectionHelper$1.create(IntrospectionHelper.java:167)
        at 
org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionHelper.java:275)
        at 
org.apache.tools.ant.ProjectHelper$NestedElementHandler.init(ProjectHelper.java:535)
        at 
org.apache.tools.ant.ProjectHelper$TaskHandler.startElement(ProjectHelper.java:499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
        at com.sun.xml.parser.Parser.parse(Parser.java:284)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
        at 
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
        at org.apache.tools.ant.Main.runBuild(Main.java:403)
        at org.apache.tools.ant.Main.main(Main.java:149)

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to