Articles

Sunday 12 September 2010

GroovyDoc

Calling GroovyDoc from Ant

It is available in groovy-1.1-rc1 right in the core of groovy, call it from ant like this:

<taskdef name="Groovydoc" classname="org.codehaus.groovy.ant.Groovydoc">
   <classpath>
      <path path="${mainClassesDirectory}"/>
      <path refid="compilePath"/>
   </classpath>
</taskdef>

<Groovydoc 
      destdir="${docsDirectory}/gapi"
      sourcepath="${mainSourceDirectory}" 
      packagenames="**.*" use="true"
      windowtitle="Groovydoc" private="false"/>

No comments:

Post a Comment