Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://svn.codehaus.org/grails-plugins/grails-class-diagram/trunk@55120 832c1c66-4827-0410-8465-ccb17913cd09
- Loading branch information
trygvea
committed
Aug 15, 2009
0 parents
commit 68df945
Showing
71 changed files
with
11,617 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
class ClassDiagramGrailsPlugin { | ||
// the plugin version | ||
def version = "0.2" | ||
// the version or versions of Grails the plugin is designed for | ||
def grailsVersion = "1.1.1 > *" | ||
// the other plugins this plugin depends on | ||
def dependsOn = [:] | ||
// resources that are excluded from plugin packaging | ||
def pluginExcludes = [ | ||
"grails-app/views/*.gsp", | ||
"grails-app/domain/**" | ||
] | ||
|
||
// TODO Fill in these fields | ||
def author = "Trygve Amundsen" | ||
def authorEmail = "" | ||
def title = "Creates class diagram of Grails domain model" | ||
def description = '''\\ | ||
Provides a class diagram of all the domain classes with their properties, methods, | ||
associations and inheritance to other domain classes. | ||
The excellent utility graphviz (http://www.graphviz.org/) is used for diagram layout. | ||
''' | ||
|
||
// URL to the plugin's documentation | ||
def documentation = "http://grails.org/ClassDiagram+Plugin" | ||
|
||
def doWithSpring = { | ||
// Load default properties from ClassDiagramConfig | ||
GroovyClassLoader classLoader = new GroovyClassLoader(getClass().getClassLoader()) | ||
ConfigObject classDiagramConfig = new ConfigSlurper().parse(classLoader.loadClass('ClassDiagramConfig')) | ||
|
||
// Allow plugin user to change properties in Config.groovy | ||
classDiagramConfig.merge(application.config) | ||
|
||
classDiagram(ClassDiagram) { | ||
config = classDiagramConfig | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#utf-8 | ||
#Sat Aug 15 13:45:39 CEST 2009 | ||
app.grails.version=1.1.1 | ||
app.name=class-diagram |
Oops, something went wrong.