I'm tracking down an issue about why my build fails on our Jenkins CI
server, which runs Ubuntu.

Here's part of my top-level build script:

configurations {
  javadoc
}

dependencies {
  javadoc project(':tapestry-javadoc')
}

subprojects.each { evaluationDependsOn(it.name) }

// Cribbed from
https://github.com/hibernate/hibernate-core/blob/master/release/release.gradle#L19

javadocBuildDir = dir(buildDirName + "/documentation/javadocs")

task aggregateJavadoc(type: Javadoc) {

   dependsOn configurations.javadoc

   description = "Build the aggregated JavaDocs for all modules"
   maxMemory = '512m'
   destinationDir = javadocBuildDir.dir
   configure(options) {
       // overview = new File( projectDir, 'src/javadoc/package.html' )
       // stylesheetFile = new File( projectDir, 'src/javadoc/stylesheet.css' )
       windowTitle = 'Tapestry API Documentation'
       docTitle = "Tapestry JavaDoc ($project.version)"
       bottom = "Copyright &copy; 2003-2011 <a
href=\"http://tapestry.apache.org\";>The Apache Software
Foundation</a>."
       use = true
       links = [ 'http://download.oracle.com/javase/6/docs/api/',
'http://download.oracle.com/javaee/6/api/' ]
       addStringOption "tagletpath", configurations.javadoc.asPath
       addStringOption "taglet",
"org.apache.tapestry5.javadoc.TapestryDocTaglet"
   }

   subprojects.each { subProject->

       subProject.sourceSets.each { set ->
                
           if ("test" != set.name) {
               source set.java

               if (classpath) {
                   classpath += set.classes + set.compileClasspath
               }
               else {
                   classpath = set.classes + set.compileClasspath
               }
           }
       }
   }
}


On Mac OS X (my primary workstation), I can see the taglet path in the
javadoc.options file:

-link 'http://download.oracle.com/javase/6/docs/api/'
-link 'http://download.oracle.com/javaee/6/api/'
-tagletpath 
'/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-javadoc/build/libs/tapestry-javadoc-5.3.0-SNAPSHOT-sources.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-javadoc/build/libs/tapestry-javadoc-5.3.0-SNAPSHOT.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-core/build/libs/tapestry-core-5.3.0-SNAPSHOT-sources.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-core/build/libs/tapestry-core-5.3.0-SNAPSHOT.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-ioc/build/libs/tapestry-ioc-5.3.0-SNAPSHOT.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-ioc/build/libs/tapestry-ioc-5.3.0-SNAPSHOT-sources.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-json/build/libs/tapestry-json-5.3.0-SNAPSHOT-sources.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-json/build/libs/tapestry-json-5.3.0-SNAPSHOT.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-func/build/libs/tapestry-func-5.3.0-SNAPSHOT-sources.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-func/build/libs/tapestry-func-5.3.0-SNAPSHOT.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-annotations/build/libs/tapestry-annotations-5.3.0-SNAPSHOT-sources.jar:/Users/hlship/workspaces/tapestry/tapestry5/tapestry-annotations/build/libs/tapestry-annotations-5.3.0-SNAPSHOT.jar:/Users/hlship/workspaces/tapestry/tapestry5/plastic/build/libs/plastic-5.3.0-SNAPSHOT.jar:/Users/hlship/workspaces/tapestry/tapestry5/plastic/build/libs/plastic-5.3.0-SNAPSHOT-sources.jar'

That looks correct: I'm seeing tapestry-javadoc.jar and all of its dependencies.

... but on my Ubuntu VM, I see the following:

-link 'http://download.oracle.com/javase/6/docs/api/'
-link 'http://download.oracle.com/javaee/6/api/'
-tagletpath ''
-use
-doctitle 'Tapestry JavaDoc (unspecified)'


Any idea what could be causing this?  I see one big oddity on Ubuntu:

student@tapestry-workshop:~/tapestry-project$ gradle depend
:dependencies

------------------------------------------------------------
Root Project - Apache Tapestry 5 Project
------------------------------------------------------------

javadoc
No dependencies

BUILD SUCCESSFUL

Total time: 3.735 secs



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

    http://xircles.codehaus.org/manage_email


Reply via email to