igorrosenberg/grails-plugin-uml-class-diagram

offline: grails uml-class-diagram

Opened this issue · 1 comments

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()

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