[root]/groovy/groovy-core/src/latex/ref
Added initial implementation of Groovydoc
Java and Groovy files are read into a tree of value objects from GroovyDoclet API ( org.codehaus.groovy.groovydoc.* )
This tree is then used to generate root, package and class level template renderings
using the GStringTemplateEngine.
The default templates are included within the base groovy jar, so groovydoc can be used 'fresh out of the box'
use from ant:
<taskdef name="groovydoc" classname="org.codehaus.groovy.ant.Groovydoc">
<groovydoc sourcepath="${src.dir}"
destdir="${groovydoc.dir}"
packagenames="${groovydoc.packages}"
use="true"
windowtitle="groovydoc"
private="true"/>
I hope people will enjoy these classes, and I invite you to come and put some flesh onto this skeleton implementation.
Limitations:
- class html files only lists method summaries so far
- comments are not treated properly yet
- groovydoc ant task has only very basic parameters so far
Cheers
Jez.
33 lines of code changed in:
GROOVY-967: remove PropertyValue from Object.allProperties() and eachProperty{}, refactor methods to use a Map; API CHANGE ! Will break existing code! find details in JIRA
2 lines of code changed in:
* Moved groovy logo to a metapost file for easier inclusion in PDFs
1675 lines of code changed in:
bringing the reference card in line with the current Groovy JDK methods
7 lines of code changed in:
Added readLine() to InputStream and Reader, which will read a single, whole line.
Very useful for quick input from console users... i.e System.in.readLine()
1 lines of code changed in:
Added new method for properties, as per GROOVY-464
6 lines of code changed in:
Added a reference card for Groovy.
Instructions to build PDF in src/latex/ref/README.txt
423 lines of code changed in: