On 07/09/2006 05:55, Brian Keyser wrote:
> 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"?
You have been bitten by a recently fixed bug. See
https://jaxb.dev.java.net/issues/show_bug.cgi?id=212. It will be
included in the next release, I presume. Until then, you might need to
use the SNAPSHOT version.
- Joost