Xsd Reverse Engineering Plugin

  • Tags: xsd
  • Latest: 0.3.2
  • Last Updated: 05 April 2012
  • Grails version: 1.3 > *
0 vote
Dependency:
compile ":xsd-reverse-engineer:0.3.2"

 Documentation  Source  Issues

Summary

Convert XSD document to GORM objects

Installation

grails install-plugin xsd-reverse-engineer

...or in edit your grails-app/conf/BuildConfig.groovy and add the following to your plugins dependency section

compile ":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

See the GitHub page for more information (Click on Source above)