Created
December 17, 2009 05:44
-
-
Save tyama/258552 to your computer and use it in GitHub Desktop.
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
@Grapes([ | |
@Grab("org.grails:grails-docs:1.2.0.RC2"), | |
@Grab("radeox:radeox:1.0-b2"), | |
@Grab("ant:ant-nodeps:1.6.5"), | |
@GrabConfig(systemClassLoader=true) | |
]) | |
import grails.doc.ant.* | |
new AntBuilder().sequential { | |
native2ascii(src:"conf",dest:"src/docs",includes:"**/*.properties",encoding:"UTF-8") | |
taskdef (name: 'docs', classname : 'grails.doc.ant.DocPublisherTask') | |
docs(src:"src/docs", dest:"build/docs",properties:"src/docs/doc.properties", | |
styleDir: new File('src/resources/style'), | |
cssDir : new File('src/resources/css'), | |
imagesDir : new File('src/resources/img') | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment