Hi all,
I've analyzed the problem a little more (looking at the
build/tmp/javadoc/javadoc.options file) and realized that problem may be in
the name of the option that references the path to the doclet. The javadoc
documentation
(http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javadoc.html#docletpath)
speaks about paramater docletpath and the gradle puts into the options file
parameter docletclasspath :-(
Should I fill some bug report?
Jira
Jira wrote:
>
> Hi all,
>
> I would like to specify UmlGraph as the doclet for the javadoc task, but
> I'm not successfull. For simplicity I use the UmlGraph.jar inside the
> project and the folowinf configuration:
>
> javadoc {
> options.doclet = 'org.umlgraph.doclet.UmlGraphDoc'
> options.docletClasspath << file('lib/build/UmlGraph.jar')
> }
>
> but there is error (I'm sure the jar is there):
>
> javadoc: error - Cannot find doclet class org.umlgraph.doclet.UmlGraphDoc
>
> So the question is how to specify the path to find the doclet jar (ideally
> using the dependency resolving).
>
> Next question is how to specify params for doclet, because in ant I
> specify:
>
> <doclet name="org.umlgraph.doclet.UmlGraphDoc"
> path="${libDir}/build/UmlGraph.jar">
> <param name="-operations" />
> <param name="-types" />
> <param name="-visibility" />
> </doclet>
>
> Thanks Jira
>
>
--
View this message in context:
http://old.nabble.com/Gradle-0.9-preview-1-and-javadoc-doclet-UmlGraph-tp28327370p28341587.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email