Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2101

Can't attach javadoc to jar file (No javadoc for <...>.jar available)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.0
    • None

    Description

      I try to study NetBeans and I want to receive JavaDoc for its components. Carrying out the tutorial https://platform.netbeans.org/tutorials/nbm-visual_library3.html, I saw that for modules there is no documentation. Therefore I tried to add it, but at me it did not turn out.

      At first I tried to find the plugin with NetBeans API documentation which existed for version 8.x, but it is missing for version 9.0.

      Then I tried to load documentation, following by link Attach Javadoc... from the hint and having pressed the button Download. However never downloaded:

      Then I tried to attach Javadoc ZIP archive, however I did not find it anywhere on the netbeans site. It in general exists?

      Then I tried to attach online documentation, having pressed the button Add URL... and having entered https://bits.netbeans.org/9.0/javadoc/org-netbeans-api-visual. This operation was performed successfully, however documentation to classes did not appear, and moreover, even an opportunity to enter something else was gone from the hint as now the link Attach Javadoc... was gone:

      At the same time at the time of a hint popup the following information logged to IDE Log:

      WARNING [org.netbeans.modules.java.source.JavadocHelper]: JavadocForBinaryQuery.Result: class org.netbeans.modules.java.j2seplatform.queries.QueriesCache$Javadoc returned non-folder URL: https://bits.netbeans.org/9.0/javadoc/org-netbeans-api-visual, ignoring
      

      So questions:

      1. Why it is not possible to load documentation automatically? It in general is possible? From where does it try to be loaded? In IDE Log there is no information on that from where there is an attempt to load it
      2. Where to take javadoc archive of NetBeans modules, it is desirable to all in one archive at once? How then to attach it?
      3. How to remove the incorrect reference to javadoc? Where to be stored information on allegedly existence of javadoc? Ok, find that. Need to remove file <NetBeans User directory from About>/config/Preferences/org/netbeans/modules/java/j2seplatform/Javadoc.properties and restart IDE
      4. What path must be entered in Add URL...?
      5. How to open the Select Javadoc (2. Try download.png) window not from the hint?

      Attachments

        1. 2. Try download.png
          21 kB
          Mingun
        2. 1. Attach Javadoc.png
          23 kB
          Mingun
        3. 3. No Attach Javadoc.png
          26 kB
          Mingun

        Activity

          People

            Unassigned Unassigned
            Mingun Mingun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: