On Jun 19, 2008, at 11:10 PM, Karan Malhi wrote:
Trying to run xjc on JSF xsd. Firstly it requires javaee xsd and
web-services-client xsd , otherwise it doesnt run. Secondly, I think
it is
generated more java types than are specified in the JSF xsd. Looks
like it
is also generating the types for javaee xsd and webservices-client
xsd.
You might try surgically cutting them out if possible, maybe modifying
the schema here and there to get rid of useless types (like
javaeeString or whatever it's called).
I am being lazy here and not reading the docs of jaxb . Hoping that
somebody
would've faced a similar issue and will be able to help me out :)
There's really nothing in the docs about cheating at this level. Best
bet is to try and trim the schema down to only what you really want to
generate. You may have to hack on the resulting java code a bit to
wire it into any existing objects we already have jaxb objects for.
If you're lucky there won't be too much overlap or any at all.
-David