users@jaxb.java.net

Re: Telling JAXB a schema has already been generated

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 15 Mar 2007 15:25:04 -0700

Dan Diephouse wrote:
> Cool, thanks Kohsuke!
>
> One further question: Our users need to be able to use our jaxb files with
> jaxb 2.0 as well. Is there a switch to tell jaxb to generate 2.0 compatible
> artifacts instead of 2.1 artifacts? (I'm 99% sure there is, but not sure
> about how to do it)

-target 2.0 in CLI or target="2.0" in Ant.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com