Neil Chaudhuri wrote:
> 
> When I execute the task, I get "Cause: No source files and no packages
> have been specified."
> 

You need to get rid of the "ant.javadoc". A task of type "Javadoc" already
knows how to generate Javadoc. With "ant.javadoc", you are generating it a
second time, and even in the configuration phase. 


Neil Chaudhuri wrote:
> 
> Second, how do I reference the source path. I have gone over the docs
> thoroughly, and everything I try has failed.
> 

The source path is set with the "source" property:
http://gradle.org/0.9/docs/dsl/org.gradle.api.tasks.javadoc.Javadoc.html

Typically you don't have to set it manually. The Java plugin does it for
you.

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradle Inc.
http://www.gradle.biz
Creator, Spock Framework
http://spockframework.org


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Executing-jax-doclet-as-a-Javadoc-Task-tp3407363p3407392.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


Reply via email to