users@jaxb.java.net

Re: Telling JAXB a schema has already been generated

From: Eric Crampton <ericcrampton_at_gmail.com>
Date: Thu, 15 Mar 2007 08:46:17 -0700

Hey Dan,

I asked the same question on this list a couple of months ago, but
didn't receive any replies. I'm guessing the answer is that you can't
do this. Not that this helps, but as I recall, you can do this with
XMLBeans, so there is precedent of a similar tool also viewing this
functionality as useful.

Regards,
--Eric

On 3/15/07, Dan Diephouse <dan_at_envoisolutions.com> 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?
>
> Thanks,
>
> - Dan
>
>
> --
> Dan Diephouse
> Envoi Solutions
> http://envoisolutions.com | http://netzooid.com/blog