This content has been marked as final. Show 2 replies
I should also point out that JDK 8 links to JAXB 2.1.3 docs (or tries to), but JDK 7 includes JAXB 2.2.4 according to:
And it remains unclear if any classpath is necessary in :
<taskdef name="schemagen" classname="com.sun.tools.jxc.SchemaGenTask">
<fileset dir="path/to/jaxb/lib" includes="*.jar" />
given that JAXB is included in the JDK. According to the above URL, "...the JAXB RI in JDK is package renamed to avoid any conflict with the stand-alone JAXB RI distribution..." Which leads me to think this may be a simple matter of figuring out what the correct package is for the SchemaGenTask. Perhaps I'm picking up some external to the JDK copy and the internal AnnotationProcessor bits it is expecting are not in the expected package.
If it is just a package name then you can look in the jars (or extract them) and just look for the class name.