Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1504

xml-apis included in groovy distribution causes conflicts w/ jaxb2.0 xjc ant task

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-JSR-6
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None
    • Environment:
      Groovy Version: 1.0-JSR-06 JVM: 1.5.0_08-b03
      win xp sp 2

      Description

      xml-apis-1.0.b2.jar included in groovy jsr06 causes some kind of conflict w/ jaxb 2.0 xjc ant task, resulting in LinkageError. The problems go away when this file is deleted from %GROOVY_HOME%\lib

      You can try this w/ the included unit test. If xml-apis-1.0.b2.jar is in %GROOVY_HOME%\lib, a LinkageError is produced. When you remove that jar, everything works fine. See the documentation in the unit test.

      Note that an identical task is run fine if created in an ant xml build file and run w/ ant.

      Note that this bug does not manifest itself w/ jaxb 1.0 ant tasks, so be sure to test against jaxb 2.0.

        Attachments

          Activity

            People

            • Assignee:
              blackdrag Jochen Theodorou
              Reporter:
              antti.karanta@napa.fi Antti Karanta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: