Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8038732

[javadoc] NetBeans IDE target does not build doclets

XMLWordPrintable

    • b29
    • Not verified

        When using the NetBeans IDE to build and debug javadoc by selecting the javadoc tool the ant target
        does not build doclets.

        Here is a short fix to rectify this.
        diff --git a/make/build.xml b/make/build.xml
        --- a/make/build.xml
        +++ b/make/build.xml
        @@ -559,7 +559,7 @@
                 <build-classes includes="${javadoc.includes}"/>
             </target>

        - <target name="build-javadoc" depends="build-javac,build-classes-javadoc">
        + <target name="build-javadoc" depends="build-javac, build-classes-javadoc, build-classes-doclets">
                 <build-jar name="javadoc" includes="${javadoc.includes}"
                             jarclasspath="javac.jar doclets.jar"/>
                 <build-tool name="javadoc"/>

              ksrini Kumar Srinivasan
              ksrini Kumar Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: