users@jaxb.java.net

how to avoid duplicated (generated) classes?

From: <torsten.reinhard_at_gi-de.com>
Date: Thu, 11 Dec 2008 12:38:34 +0100

Hi,

I have some separate *.xsd structures, sharing all the same common *.xsd
structure:

A.xsd
        +- a-Types.xd
                +- common.xsd
                +- person.xsd
                +- adress.xsd
        +- ...xsd

B.xsd
        +- b-Types.xd
                +- common.xsd
                +- person.xsd
                +- adress.xsd
        +- ...xsd

What I finally want is the following packages, containing the (XJC)
generated JAXB classes:

com.mycompany.a
com.mycompany.b
com.mycompany.common
com.mycompany.person
com.mycompany.adress

How can I avoid common.xsd, person.xsd and adress.xsd being generated
multiple times?

thanx, Torsten