The gradle documentation task is complaining when I try to use the
following ant task with Gradle 1.0-milestone-3 and newer (snapshot
version), it was working with 0.9.2.
I haven't tried executing the task with versions between 0.9.2 and
1.0-milestone-3.
Here is the piece of gradle script
task documentation(dependsOn: ['docs'], description: 'Create the API
documentation.')
task('docs') << {
ant.taskdef(name: 'docs', classname: 'grails.doc.ant.DocPublisherTask') {
classpath {
configurations.compile.resolve().each { f ->
pathelement(location: f)
}
}
}
ant.docs(src: "documentation", dest: "$buildDir/docs/documentation",
properties: "documentation/resources/doc.properties",
styleDir: new File('documentation/style'),
imagesDir: new File('documentation/img'))
}
When I run the "gradle documentation" task, I get this error message:
Execution failed for task ':docs'.
Cause: taskdef doesn't support the nested "pathelement" element.
Cause: The <taskdef> type doesn't support the nested "pathelement" element.
Thank you,
Asmita Vaidya
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email