users@jaxb.java.net

Re: Generated runtime classes

From: Ryan Shoemaker - JavaSoft East <Ryan.Shoemaker_at_sun.com>
Date: Mon, 16 Jun 2003 12:07:34 -0400

Canning, Chuck wrote:

> Hi,
>
> I was wondering what determines where the runtime files are generated when
> you use the default settings. I am having a wierd sort of problem where the
> generated runtime files location changes on different builds. Is it possible
> that I have changed a setting to cause this? It doesn't appear that anyone
> has changed the files since the previous build. Just to clarify,
>
> build one:
>
> a.b.c.impl.runtime
> a.b.d.impl
>
> build two:
>
> a.b.c.impl
> a.b.d.runtime
>
> The two packages are generated from compiling a single schema that includes
> another schema (each with their own namespace).
>

It looks like we are iterating over a hashset and then picking a package to
generate impl.runtime into, so I guess that explains it. The best thing for
you to do is use the "-use-runtime" switch on xjc to force it use a previously
generated impl.runtime package.

--Ryan

> Thanks,
>
> Chuck
>