>First off, I don't know how to set the argument "-jaxrscontext
http://localhost:8080/myapp"
task generateRestApiDocs(type: Javadoc) {
...
options.addStringOption("jaxrscontext", "http://localhost:8080/myapp")
}
One problem is that Gradle passes the standard Javadoc options even to
custom doclets. If your doclet refuses to accept those, you have to use this
workaround:
class JaxRsOptions extends org.gradle.external.javadoc.MinimalJavadocOptions
{}
And in your task:
options = new JaxRsOptions()
options.addStringOption("jaxrscontext", "http://localhost:8080/myapp")
--
Peter Niederwieser
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradleware
http://www.gradleware.com
Creator, Spock Framework
http://spockframework.org
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Executing-jax-doclet-as-a-Javadoc-Task-tp3407363p3411164.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