Reshat Sabiq <crts <at> argushealth.com> writes:
> > As i mentioned in a related bug, retro-translated code
still uses classes like
> > and loses all annotations, javax.jws.soap.SOAPBinding.
I don't see that working
> > under 1.4, but i'll look into the flags you refer to.
> Also, JAXB 2's JAXB 1 support is deprecated, and apparently
largely disabled in
> 2.1.2. I've seen their docs saying use JAXB 1 directly instead.
>
I've looked thru all the JAXB releases at
https://jaxb.dev.java.net/servlets/
ProjectDocumentList?folderID=3955
&expandFolder=3955&folderID=3956
and none of JAXB 2 releases supports
-source 1.0
or
-target 1.0
.
So using JAXB 2 for JAXB 1 gen strongly appears to be an illusion.
Not sure if
there might some nightly that wasn't a real
release that had some support for
1.0: mostly likely not.
P.S. I started tweaking gen source for JAXB 1 using JAXB 2,
but got this exception:
Caused by: java.lang.NoClassDefFoundError:
com/sun/istack/SAXParseException2
at com.sun.tools.xjc.api.XJC.
createSchemaCompiler(XJC.java:51)
That led me to look into whether it was at all possible.
I conclude it's not
possible.
P.P.S. Will take a look at what it would take to use JAXB 1 get directly.
There
is no
com.sun.tools.xjc.api.SchemaCompiler
in JAXB1 RI. I'd appreciate any feedback on what class should be used instead.
Thanks.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email