I don't seem to be able to get the "Group" to work for javadocs. I
have the following task;

task javadocs(type: Javadoc) {
 title = "${rootProject.title} ${version}"
 def apiSources = subprojects.findAll({ project -> project.name != 'runtime' })
 source apiSources.collect { project ->
   project.sourceSets.main.allJava
 }
 destinationDir = new File("$buildDir/javadocs")
 // Might need a classpath
 classpath = files(apiSources.collect { project ->
   project.sourceSets.main.compileClasspath
 })
 options.docFilesSubDirs = true
 options.links("http://java.sun.com/j2se/1.6.0/docs/api";)
 options.group("Core API", ["org.qi4j.core.api.*"]).
         group("Core SPI", ["org.qi4j.core.spi.*"]).
         group("Core Bootstrap", ["org.qi4j.core.bootstrap.*"])
}

And I have tried many variants of Map, lists and only a single
argument, but to no prevail. options.links seems to work, but not
options.group

Any ideas??


Thanks
--
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/24svnvk
I relax here; http://tinyurl.com/2cgsug

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to