Hi Alex, thanks for the Gem. I tried it. However there seems to go something wrong.
All my html files for the classes are stored in the DefaultPackage while the package html files are correctly created. After a little investigation it seems that GroovyDoc only want to have a list of source directories instead of a list of source files. Is it possible to rewrite the doc task for working with source directories instead of the comple paths to the source files? Using the ant script below, everything is created fine. <project name="test" default="doc" > <target name="doc" > <taskdef name="groovydoc" classname="org.codehaus.groovy.ant.Groovydoc" classpath="C:/dev/eclipse/plugins/org.codehaus.groovy_1.7.5.xx-20101007-1100-e36-RC2/lib/groovy-all-1.7.5.jar" /> <groovydoc destdir="doc/gapi" sourcepath="src/main/java" packagenames="**.*" use="true" windowtitle="WINDOW_TITLE" doctitle="DOC_TITLE" header="HEADER" footer="FOOTER" private="false" > </groovydoc> </target> </project> Maybe buildr could leverage this ant task for the GroovyDoc creation? Cheers, Simon On 17 November 2010 16:48, Simon Harrer <[email protected]> wrote: > Hi again. > > is there a nightly build available including the bugfix? I would like to > try the new buildr gem. I tried to install it from the sources but this did > not work yesterday. > > Then, I can give you feedback about the implementation. > > Cheers, > Simon > > > On 15 November 2010 21:58, Simon Harrer <[email protected]> wrote: > >> Hi, >> >> thanks for the comments. >> >> I found that groovydoc should do the job. And in the buildr documentation, >> it states, that groovydoc can be used. However, I could not get it to work. >> I searched in the sources and found no Doc Classes in the groovy folders. >> >> See http://buildr.apache.org/languages.html#groovy for reference to the >> groovydoc task >> >> My idea is to be able to use groovydoc only and produce a groovydoc for >> all of my projects which is combined like the javadoc is. >> >> Cheers, >> Simon >> >> On 11 November 2010 20:04, Simon Harrer <[email protected]> wrote: >> >>> Hi buildr Community. >>> >>> I think buildr is really cool. But currently, I am stuck generating >>> javadoc >>> >>> project structure: >>> src/main/java <-- java and groovy sources >>> target/classes <-- output folder >>> >>> This works perfectly with the groovyc joint compiler. >>> >>> However, when using the doc command, buildr states that it cannot guess >>> the language and aborts. And I do not find a way to specify that I want >>> javadoc generated for src/main/java. >>> >>> My only other solution would be to create such a javadoc task myself by >>> leveraging ant or the command line. Or is there a solution with buildr? >>> >>> Best regards, >>> Simon >>> >> >> >
