gradle-jaxb-plugin
gradle-jaxb-plugin copied to clipboard
Support for specifying a specific xsd file to process.
It would be nice in the xjc convention to be able to specify a specific xsd file relative to the jaxb.xsdDir to process.
why not just make that the only xsd file in the folder?
That would be a work around, but it would be nice to add a filter for files so that you could possibly do a subset of files in a directory.
I guess it would be nice.
I happen to like the workaround. It keeps xsds organized by folder and what they represent, and that correlates to a project that uses xjc for those set of xsds.
Specifying one file in a folder kind of defeats that purpose for me. On Sep 4, 2014 11:04 PM, "Brandon Szeliga" [email protected] wrote:
That would be a work around, but it would be nice to add a filter for files so that you could possibly do a subset of files in a directory.
— Reply to this email directly or view it on GitHub https://github.com/jacobono/gradle-jaxb-plugin/issues/9#issuecomment-54576619 .
I'm +1 on this as we can't always determine how the schemas are being structure, especially when you didn't write them yourself. I'm trying to generate code out of XSD's I received from the IRS, they have tons of them and it is unrealistic to try to fix that.
I think this would be nice too.
If you want to submit a pull request for this feature I'd be more than happy to assist :+1:!
This is fixed in https://github.com/jacobono/gradle-jaxb-plugin/pull/47
@bszeliga & @c4milo
The OpenRepose.org updated version of this plugin is now available in the Gradle Plugins repository and is compatible with JSE7.