scubacabra / gradle-jaxb-plugin

Gradle plugin to ease projects that use xsds and the ant jaxb task
GNU General Public License v2.0
49 stars 44 forks source link

Multi schema modules generate unusable episode files #56

Open christopherpicard opened 7 years ago

christopherpicard commented 7 years ago

I have a module that has several schema files in it. Each has a different namespace and a different purpose. However when you look at the episode files, it generates one per module name and not one per schema. This results in requiring all the schema's in the module be imported in the schema file if it needs any of them. If you don't you get the following error: [ant:xjc} [ERROR] SCD "x-schema::tns" didnt match any schema component.

Not sure why episode files are done at the module level in the first place, but at a minimum and option to generate an episode file per schema would be nice to fix this issue.

klu2 commented 6 years ago

we have the same issue. any please for that to be fixed?