Hi.
> How are the <includeschema> and <includebinding> elements in the
> configuration translated to xjc options?
>
> <configuration>
>
> <includeSchemas>
>
> <includeSchema>**/*.xsd</includeSchema>
>
> </includeSchemas>
>
> <includeBindings>
>
> <includeBinding>**/*.xjb</includeBinding>
>
> </includeBindings>
>
> </configuration>
>
> I am able to use xjc with the options of “*.xsd –b a.xjb –b b.xjb”
> successfully. However, I get an error similar to
>
>
>
> [ERROR] [ERROR] "file:/C:/…/a.xsd" is not a part of this compilation. Is
> this a mistake for "file:/C:/…/b.xjb"?
>
>
>
> I am not sure that the <includebinding> options are being referred to
> with an individual ‘-b’ option and argument. Perhaps my understanding
> of the configuration is incorrect?
Which jaxb version and which plugin?
In case of the maven-jaxb1-plugin, there was a problem with relative paths (say,
../../myothermodule/schema/*.xsd). This is fixed in the latest version (1.0-rc6).
Bye.
/lexi