www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Fwd: Build failed in Jenkins: tapestry-trunk-freestyle #345
Date Mon, 23 May 2011 17:02:41 GMT
I recently added a new library, tapestry-javadoc, that defines a
JavaDoc Taglet used when generating Tapestry documentation.  The build
works correctly on my local machine, using:

java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)


However, it fails on Jenkins (ubuntu2), with errors about classes in
com.sun.javadoc, not being visible.  As far as I know, these classes
are part of the core runtime in Sun JDKs.  What JDK is running on
ubuntu2?   Aren't the com.sun.javadoc classes part of OpenJDK (if
that's what's running)?

Thanks for any enlightenment!

Howard


---------- Forwarded message ----------
From: Apache Jenkins Server <hudson@hudson.apache.org>
Date: Sun, May 22, 2011 at 1:28 PM
Subject: Build failed in Jenkins: tapestry-trunk-freestyle #345
To: dev@tapestry.apache.org, hlship@comcast.net


See <https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/345/>

------------------------------------------
[...truncated 57 lines...]
:tapestry-core:classes UP-TO-DATE
:tapestry-core:jar UP-TO-DATE
:tapestry-core:sourcesJar UP-TO-DATE
:tapestry-beanvalidator:compileJava UP-TO-DATE
:tapestry-beanvalidator:compileGroovy UP-TO-DATE
:tapestry-beanvalidator:processResources UP-TO-DATE
:tapestry-beanvalidator:classes UP-TO-DATE
:tapestry-hibernate-core:compileJava UP-TO-DATE
:tapestry-hibernate-core:compileGroovy UP-TO-DATE
:tapestry-hibernate-core:processResources UP-TO-DATE
:tapestry-hibernate-core:classes UP-TO-DATE
:tapestry-hibernate-core:jar UP-TO-DATE
:tapestry-hibernate-core:sourcesJar UP-TO-DATE
:tapestry-hibernate:compileJava UP-TO-DATE
:tapestry-hibernate:compileGroovy UP-TO-DATE
:tapestry-hibernate:processResources UP-TO-DATE
:tapestry-hibernate:classes UP-TO-DATE
:tapestry-javadoc:compileJava<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:26:
package com.sun.javadoc does not exist
import com.sun.javadoc.AnnotationDesc;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:27:
package com.sun.javadoc.AnnotationDesc does not exist
import com.sun.javadoc.AnnotationDesc.ElementValuePair;
                                    ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:28:
package com.sun.javadoc does not exist
import com.sun.javadoc.AnnotationValue;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:29:
package com.sun.javadoc does not exist
import com.sun.javadoc.ClassDoc;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:30:
package com.sun.javadoc does not exist
import com.sun.javadoc.Doc;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:31:
package com.sun.javadoc does not exist
import com.sun.javadoc.FieldDoc;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:32:
package com.sun.javadoc does not exist
import com.sun.javadoc.ProgramElementDoc;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:33:
package com.sun.javadoc does not exist
import com.sun.javadoc.Tag;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:37:
cannot find symbol
symbol  : class ClassDoc
location: class org.apache.tapestry5.javadoc.ClassDescription
   public final ClassDoc classDoc;
                ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ParameterDescription.java>:21:
package com.sun.javadoc does not exist
import com.sun.javadoc.FieldDoc;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ParameterDescription.java>:22:
package com.sun.javadoc does not exist
import com.sun.javadoc.SeeTag;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ParameterDescription.java>:23:
package com.sun.javadoc does not exist
import com.sun.javadoc.Tag;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:46:
cannot find symbol
symbol  : class ClassDoc
location: class org.apache.tapestry5.javadoc.ClassDescription
   public ClassDescription(ClassDoc classDoc, ClassDescriptionSource source)
                           ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:130:
cannot find symbol
symbol  : class FieldDoc
location: class org.apache.tapestry5.javadoc.ClassDescription
   private ParameterDescription
getPublishedParameterDescription(ClassDescriptionSource source,
FieldDoc fd,

                         ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:145:
cannot find symbol
symbol  : class ProgramElementDoc
location: class org.apache.tapestry5.javadoc.ClassDescription
   private static boolean isDeprecated(ProgramElementDoc doc)
                                       ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:150:
cannot find symbol
symbol  : class Doc
location: class org.apache.tapestry5.javadoc.ClassDescription
   private static String getSinceTagValue(Doc doc)
                                          ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:155:
cannot find symbol
symbol  : class Doc
location: class org.apache.tapestry5.javadoc.ClassDescription
   private static String getTagValue(Doc doc, String tagName)
                                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:178:
cannot find symbol
symbol  : class ProgramElementDoc
location: class org.apache.tapestry5.javadoc.ClassDescription
   private static AnnotationDesc getAnnotation(ProgramElementDoc
source, Class annotationType)
                                               ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:178:
cannot find symbol
symbol  : class AnnotationDesc
location: class org.apache.tapestry5.javadoc.ClassDescription
   private static AnnotationDesc getAnnotation(ProgramElementDoc
source, Class annotationType)
                  ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:190:
cannot find symbol
symbol  : class ProgramElementDoc
location: class org.apache.tapestry5.javadoc.ClassDescription
   private static Map<String, String>
getAnnotationValues(ProgramElementDoc source, Class annotationType)
                                                          ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ParameterDescription.java>:27:
cannot find symbol
symbol  : class FieldDoc
location: class org.apache.tapestry5.javadoc.ParameterDescription
   public final FieldDoc field;
                ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ParameterDescription.java>:49:
cannot find symbol
symbol  : class FieldDoc
location: class org.apache.tapestry5.javadoc.ParameterDescription
   public ParameterDescription(FieldDoc fieldDoc, String name, String
type, String defaultValue, String defaultPrefix,
                               ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:27:
package com.sun.javadoc does not exist
import com.sun.javadoc.ClassDoc;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:28:
package com.sun.javadoc does not exist
import com.sun.javadoc.Tag;
                     ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:29:
package com.sun.tools.doclets does not exist
import com.sun.tools.doclets.Taglet;
                           ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:34:
cannot find symbol
symbol: class Taglet
public class TapestryDocTaglet implements Taglet, ClassDescriptionSource
                                         ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:41:
cannot find symbol
symbol  : class ClassDoc
location: class org.apache.tapestry5.javadoc.TapestryDocTaglet
   private ClassDoc firstSeen;
           ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:105:
cannot find symbol
symbol  : class Tag
location: class org.apache.tapestry5.javadoc.TapestryDocTaglet
   public String toString(Tag tag)
                          ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:110:
cannot find symbol
symbol  : class Tag
location: class org.apache.tapestry5.javadoc.TapestryDocTaglet
   public String toString(Tag[] tags)
                          ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:230:
cannot find symbol
symbol  : class ClassDoc
location: class org.apache.tapestry5.javadoc.TapestryDocTaglet
   private void streamXdoc(ClassDoc classDoc, Writer writer) throws Exception
                           ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:56:
cannot find symbol
symbol  : class AnnotationDesc
location: class org.apache.tapestry5.javadoc.ClassDescription
       AnnotationDesc eventsAnnotation = getAnnotation(classDoc, Events.class);
       ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:64:
cannot find symbol
symbol  : class ElementValuePair
location: class org.apache.tapestry5.javadoc.ClassDescription
       ElementValuePair pair = eventsAnnotation.elementValues()[0];
       ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:66:
cannot find symbol
symbol  : class AnnotationValue
location: class org.apache.tapestry5.javadoc.ClassDescription
       AnnotationValue annotationValue = pair.value();
       ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:67:
cannot find symbol
symbol  : class AnnotationValue
location: class org.apache.tapestry5.javadoc.ClassDescription
       AnnotationValue[] values = (AnnotationValue[]) annotationValue.value();
       ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:67:
cannot find symbol
symbol  : class AnnotationValue
location: class org.apache.tapestry5.javadoc.ClassDescription
       AnnotationValue[] values = (AnnotationValue[]) annotationValue.value();
                                   ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:69:
cannot find symbol
symbol  : class AnnotationValue
location: class org.apache.tapestry5.javadoc.ClassDescription
       for (AnnotationValue eventValue : values)
            ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:83:
cannot find symbol
symbol  : class FieldDoc
location: class org.apache.tapestry5.javadoc.ClassDescription
       for (FieldDoc fd : classDoc.fields(false))
            ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:100:
internal error; cannot instantiate
ParameterDescription(FieldDoc,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean,boolean,boolean,java.lang.String,boolean)
at org.apache.tapestry5.javadoc.ParameterDescription to ()
               ParameterDescription pd = new ParameterDescription(fd,
name, fd.type().qualifiedTypeName(), get(values,
                                         ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:157:
cannot find symbol
symbol  : class Tag
location: class org.apache.tapestry5.javadoc.ClassDescription
       Tag[] tags = doc.tags(tagName);
       ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:182:
cannot find symbol
symbol  : class AnnotationDesc
location: class org.apache.tapestry5.javadoc.ClassDescription
       for (AnnotationDesc ad : source.annotations())
            ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:192:
cannot find symbol
symbol  : class AnnotationDesc
location: class org.apache.tapestry5.javadoc.ClassDescription
       AnnotationDesc annotation = getAnnotation(source, annotationType);
       ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ClassDescription.java>:199:
cannot find symbol
symbol  : class ElementValuePair
location: class org.apache.tapestry5.javadoc.ClassDescription
       for (ElementValuePair pair : annotation.elementValues())
            ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ParameterDescription.java>:68:
cannot find symbol
symbol  : class Tag
location: class org.apache.tapestry5.javadoc.ParameterDescription
       for (Tag tag : field.inlineTags())
            ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ParameterDescription.java>:78:
cannot find symbol
symbol  : class SeeTag
location: class org.apache.tapestry5.javadoc.ParameterDescription
               SeeTag seeTag = (SeeTag) tag;
               ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/ParameterDescription.java>:78:
cannot find symbol
symbol  : class SeeTag
location: class org.apache.tapestry5.javadoc.ParameterDescription
               SeeTag seeTag = (SeeTag) tag;
                                ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:97:
cannot find symbol
symbol  : class ClassDoc
location: class org.apache.tapestry5.javadoc.TapestryDocTaglet
           ClassDoc cd = firstSeen.findClass(className);
           ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:118:
cannot find symbol
symbol  : class Tag
location: class org.apache.tapestry5.javadoc.TapestryDocTaglet
       Tag tag = tags[0];
       ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:124:
cannot find symbol
symbol  : class ClassDoc
location: class org.apache.tapestry5.javadoc.TapestryDocTaglet
           ClassDoc classDoc = (ClassDoc) tag.holder();
           ^
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-javadoc/src/main/java/org/apache/tapestry5/javadoc/TapestryDocTaglet.java>:124:
cannot find symbol
symbol  : class ClassDoc
location: class org.apache.tapestry5.javadoc.TapestryDocTaglet
           ClassDoc classDoc = (ClassDoc) tag.holder();
                                ^
49 errors


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':tapestry-javadoc:compileJava'.
Cause: Compile failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info
or --debug option to get more log output.

BUILD FAILED

Total time: 9.244 secs
[WARNINGS] Skipping publisher since build result is FAILURE
[TASKS] Skipping publisher since build result is FAILURE
Publishing Javadoc


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org




-- 
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

Mime
View raw message