Hello
Kohsuke Kawaguchi wrote:
>
> This is an XML Schema issue, not really a JAXB issue. To import a
> schema, you have to specify the namespace.
>
> Change this
>
>> <xsd:import schemaLocation="common.xsd" />
>
>
> ... to ...
>
> <xsd:import schemaLocation="common.xsd"
> namespace="meteorage/jobs/params/common" />
thanks ; i had tried this instruction also but the problem is
the duplication of common classes under
meteorage/jobs/params/configuration when compiling
configuration_test.xsd (whose namespace is
meteorage/jobs/params/configuration)
and that imports common.xsd
those classes are already under meteorage/jobs/params/commons
after having compiled common.xsd (whose namespace is
meteorage/jobs/params/common)
is there a way with jaxb to prevent the generation of types
which are imported in a schema or at least to redirect the generation
of those types in a common directory
thanks in advance
Jean-Marie
--
Jean-Marie Condom
Software development team
Sté Météorage
2 av Angot
64053 PAU
France