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 10:43:04 -0700

Dan Diephouse wrote:
> Question: We have a multi module in which one module we've generated schema
> A into package foo.a. In the second module we generate schema B into foo.b.
> B depends on A though, so schema A also gets regenerated as well. Is there a
> way to tell JAXB that we've already generated a particular schema and that
> its in a particular package?

Yes. See
http://weblogs.java.net/blog/kohsuke/archive/2006/09/separate_compil.html



-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com