ICEpush
  1. ICEpush
  2. PUSH-254

Errors running Ant javadoc task against icepush using JDK 1.7

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: EE-3.3.0.GA_P04, 4.2.BETA, 4.2
    • Component/s: Release
    • Labels:
      None
    • Environment:
      JDK 1.7, Mac OS X, JavaDoc
    • Workaround Exists:
      Yes
    • Workaround Description:
      Build using JDK 1.6

      Description

      When I try to run a build using JDK 1.7 on my Mac and the build includes the task to run javadocs on ICEpush, I get the following stack trace. This isn't a problem if I switch back to 1.6:


      javadoc:
           [echo] lib.dir: '../lib'
        [javadoc] Generating Javadoc
        [javadoc] Javadoc execution
        [javadoc] Creating destination directory: "/Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icepush-ee/core/build/javadocs/"
        [javadoc] Loading source file /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icepush-ee/core/src/main/java/org/icepush/PushConfiguration.java...
        [javadoc] Loading source file /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icepush-ee/core/src/main/java/org/icepush/PushContext.java...
        [javadoc] Loading source file /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icepush-ee/core/src/main/java/org/icepush/PushNotification.java...
        [javadoc] Constructing Javadoc information...
        [javadoc] Standard Doclet version 1.7.0_21
        [javadoc] Building tree for all the packages and classes...
        [javadoc] /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icepush-ee/lib/icepush-ee.jar(org/icepush/ConfigurationServer.java):22: error: cannot access Cookie
        [javadoc] import org.icepush.http.standard.Cookie;
        [javadoc] ^
        [javadoc] bad source file: /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icepush-ee/lib/icepush-ee.jar(org/icepush/http/standard/Cookie.java)
        [javadoc] file does not contain class org.icepush.http.standard.Cookie
        [javadoc] Please remove or make sure it appears in the correct subdirectory of the sourcepath.
        [javadoc] com.sun.tools.javac.util.Abort
        [javadoc] at com.sun.tools.javac.comp.Check.completionError(Check.java:258)
        [javadoc] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:437)
        [javadoc] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
        [javadoc] at com.sun.tools.javac.comp.Attr.attribType(Attr.java:473)
        [javadoc] at com.sun.tools.javac.comp.Attr.attribType(Attr.java:466)
        [javadoc] at com.sun.tools.javac.comp.MemberEnter.attribImportType(MemberEnter.java:717)
        [javadoc] at com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:558)
        [javadoc] at com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:513)
        [javadoc] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401)
        [javadoc] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:413)
        [javadoc] at com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:525)
        [javadoc] at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:459)
        [javadoc] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401)
        [javadoc] at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:872)
        [javadoc] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:421)
        [javadoc] at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:821)
        [javadoc] at com.sun.tools.javac.comp.Enter.complete(Enter.java:491)
        [javadoc] at com.sun.tools.javac.main.JavaCompiler.complete(JavaCompiler.java:754)
        [javadoc] at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2232)
        [javadoc] at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2139)
        [javadoc] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:421)
        [javadoc] at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:821)
        [javadoc] at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:764)
        [javadoc] at com.sun.tools.javadoc.ClassDocImpl.getFlags(ClassDocImpl.java:125)
        [javadoc] at com.sun.tools.javadoc.ClassDocImpl.isAnnotationType(ClassDocImpl.java:136)
        [javadoc] Building index for all the packages and classes...
        [javadoc] at com.sun.tools.javadoc.DocEnv.isAnnotationType(DocEnv.java:584)
        [javadoc] at com.sun.tools.javadoc.DocEnv.getClassDoc(DocEnv.java:556)
        [javadoc] Building index for all classes...
        [javadoc] at com.sun.tools.javadoc.PackageDocImpl.getClasses(PackageDocImpl.java:147)
        [javadoc] at com.sun.tools.javadoc.PackageDocImpl.allClasses(PackageDocImpl.java:175)
        [javadoc] at com.sun.tools.javadoc.PackageDocImpl.allClasses(PackageDocImpl.java:186)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.ConstantsSummaryBuilder.hasConstantField(ConstantsSummaryBuilder.java:246)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.ConstantsSummaryBuilder.buildContents(ConstantsSummaryBuilder.java:157)
        [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        [javadoc] at java.lang.reflect.Method.invoke(Method.java:601)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.invokeMethod(AbstractBuilder.java:148)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:103)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.buildChildren(AbstractBuilder.java:129)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.ConstantsSummaryBuilder.buildConstantSummary(ConstantsSummaryBuilder.java:140)
        [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        [javadoc] at java.lang.reflect.Method.invoke(Method.java:601)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.invokeMethod(AbstractBuilder.java:148)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:103)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.ConstantsSummaryBuilder.build(ConstantsSummaryBuilder.java:122)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateOtherFiles(AbstractDoclet.java:154)
        [javadoc] at com.sun.tools.doclets.formats.html.HtmlDoclet.generateOtherFiles(HtmlDoclet.java:90)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:141)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:83)
        [javadoc] at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:63)
        [javadoc] at com.sun.tools.doclets.standard.Standard.start(Standard.java:39)
        [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        [javadoc] at java.lang.reflect.Method.invoke(Method.java:601)
        [javadoc] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:280)
        [javadoc] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:160)
        [javadoc] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:397)
        [javadoc] at com.sun.tools.javadoc.Start.begin(Start.java:167)
        [javadoc] at com.sun.tools.javadoc.Main.execute(Main.java:59)
        [javadoc] at com.sun.tools.javadoc.Main.main(Main.java:49)
        [javadoc] /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icepush-ee/lib/icepush-ee.jar(org/icepush/ConfigurationServer.java):130: error: cannot find symbol
        [javadoc] private class SetBrowserIDAndConfigureBridgeMacro extends FixedXMLContentHandler {
        [javadoc] ^
        [javadoc] symbol: class FixedXMLContentHandler
        [javadoc] location: class ConfigurationServer
        [javadoc] /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icepush-ee/lib/icepush-ee.jar(org/icepush/ConfigurationServer.java):117: error: cannot find symbol
        [javadoc] private static class SetBrowserID extends FixedXMLContentHandler {
        [javadoc] ^
        [javadoc] symbol: class FixedXMLContentHandler
        [javadoc] location: class ConfigurationServer
        [javadoc] /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icepush-ee/lib/icepush-ee.jar(org/icepush/ConfigurationServer.java):104: error: cannot find symbol
        [javadoc] private static class ConfigureBridge extends FixedXMLContentHandler {
        [javadoc] ^
        [javadoc] symbol: class FixedXMLContentHandler
        [javadoc] location: class ConfigurationServer
        [javadoc] Generating /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icepush-ee/core/build/javadocs/help-doc.html...
        [javadoc] 4 errors

        Activity

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: