Saurabh Arora <sarora_at_novell.com> wrote:
> Problem 1.
> I wanted to reuse the runtime , for compiling another file c.xsd , but
> the change in location means i cannot write the same in my build file.
I believe we've changed it so that it will become predictable, but
unfortunately that's only available in the next release.
Meanwhile, what I'm recommending is for you to copy the runtime classes
into your own package (say com.acme.jaxb.runtime) by renaming the
package declarations, then use XJC's -use-runtime option to refer to
that runtime.
This will let you share the runtime project-wide.
> Problem 2.
>
> The file in the Runtime called "InterleaveDispatcher" is not
> generated in all cases, Is there a specific case in which it is
> generated.?
It is probably when you use <xs:all>, but more likely it is a bug. If
you have a schema that generates InterleaveDispatcher, let us know.
regards,
--
Kohsuke Kawaguchi 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com