I have encountered the following problem with using common runtime's
between multiple schemas.
Problem 1.
I have a schema (SAY a.xsd) which imports another schema(say b.xsd)
i map a.xsd ----> com.hello.a package
and
b.xsd ----------> com.hello.b package
when i run the xjc , i get a common runtime for both a and b but the
location of runtime is unpredictable, sometimes i get
com.hello.a.impl.runtime and sometimes com.hello.b.impl.runtime.
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.
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.?
I have tried to reuse the runtime by -use-runtime option and found
InterleaveDispatcher does not exist. but when i remove the option , i
found that the respective schema generated it for it's own use.
Saurabh arora