Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-6
-
None
-
None
-
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.