Xsd Reverse Engineering Plugin
Dependency :
compile ":xsd-reverse-engineer:0.3.2"
Summary
Convert XSD document to GORM objects
Installation
grails install-plugin xsd-reverse-engineer
grails-app/conf/BuildConfig.groovy and add the following to your plugins dependency sectioncompile ":xsd-reverse-engineer:0.2.1"Description
Background
This plugin was designed to reverse-engineer a specific set of XSD files. Those XSD files are included in this source code for your reference. This plugin may not work with the XSD file you need to parse, and may require some customization of the Groovy classes that are used to parse the XSD XML.If this is the case, please do fork this project and customize or extend it for your application. If you feel that your changes might help others, please submit a pull request so I can merge in your changes. Thanks!In short: Your milage may vary.Usage
grails xsd-to-gorm [--enums-as-constraint]
Example
grails xsd-to-gorm definitions/some-sort-of-xml-schema.0.01.02.xsd