William Simons wrote:
> I would like to generate class files that use Calendar (or
> GregorianCalendar) instead of XMLGregorianCalendar with jaxb 2.0.
>
> I have tried many configurations and to no avail.
>
> Can some one show me an example external binding file that does this
> globally.
Attached the modified version of the datatypeconverter sample that shows
how to do it.
See <javaType> inside <globalBindings>. That's the key.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
- application/xml attachment: po.xsd