Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

offline: grails uml-class-diagram #19

Open
igorrosenberg opened this issue May 14, 2015 · 1 comment
Open

offline: grails uml-class-diagram #19

igorrosenberg opened this issue May 14, 2015 · 1 comment

Comments

@igorrosenberg
Copy link
Owner

The offline script

grails uml-class-diagram

should store the layers (controller/services) and domains images in the output folder 'target/'

Is the code below of any use?

    includeTargets << grailsScript("_GrailsBootstrap")
    loadApp()
    for (grailsClass in grailsApp.allClasses) { println grailsClass }

    configureApp()
    Connection c = appCtx.getBean('dataSource').getConnection()
@igorrosenberg
Copy link
Owner Author

Ideally, the script builds a Config Command object (script parameters and/or config options), based on default options, optionnaly overloaded in Config.groovy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant