If you want javadoc only for your .java files, simply add the following to
your buildfile:

  doc.using :javadoc

I'm not aware of tools that do combined java + groovy documentation but if
such a thing exists, we could add support for it eventually.

Also, feel free to file an issue for your case.   I think javadoc should be
the default for joint java + groovy projects for the time being.

alex

On Thu, Nov 11, 2010 at 11:04 AM, 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
>

Reply via email to