Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3296 Attaching JavaFX Javadoc and Sources
  3. NETBEANS-3303

Modular Gradle project fails to recognize Javadoc and Sources

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 11.2
    • 12.2
    • None
    • None
    • OpenJDK 13.0.1 on Ubuntu 16.04.6 LTS

    Description

      In the description below, I'm using the JavaFX sample project for NetBeans defined in the Modular Gradle directory of the openjfx/samples repository.

      Even after setting up the Gradle cache as described in the parent issue, the project fails to recognize the Javadoc and Sources. The toolbar buttons to show the documentation in an external Web browser and to open the source in the editor are both disabled.

      Holding down the Ctrl key and clicking a method does nothing. The Show Javadoc (Alt-F1) item in the context menu does nothing.

      The Gradle cache contains the Javadoc and Sources with their original names and with their Linux platform-specific names.

      $ cd .gradle/caches/modules-2/files-2.1/org.openjfx/javafx-graphics/13
      
      $ find * -type f 
      6f9144cf24ab576d79e3bcdfbd48bdff31d0c509/javafx-graphics-13.pom
      9dd89f728a41d898591ee9d0fb1dfb2020dab334/javafx-graphics-13-javadoc.jar
      9dd89f728a41d898591ee9d0fb1dfb2020dab334/javafx-graphics-13-linux-javadoc.jar
      a9407212df2b75d557a509ec14a9e8e282494b4e/javafx-graphics-13.jar
      bbcbc616702a086567585183efcb0ab8eb22a66b/javafx-graphics-13-win.jar
      d407d8267c270f775482a3e05fef7d857b824b47/javafx-graphics-13-sources.jar
      d407d8267c270f775482a3e05fef7d857b824b47/javafx-graphics-13-linux-sources.jar
      d6b0cddb2d9f5c46cf78365b3683b147981321e0/javafx-graphics-13-mac.jar
      d853d12684f60037dfeea1a47e61396e0febfdfd/javafx-graphics-13-linux.jar
      
      $ cd 9dd89f728a41d898591ee9d0fb1dfb2020dab334
      
      $ diff -s javafx-graphics-13-javadoc.jar javafx-graphics-13-linux-javadoc.jar
      Files javafx-graphics-13-javadoc.jar and javafx-graphics-13-linux-javadoc.jar are identical
      
      $ cd ../d407d8267c270f775482a3e05fef7d857b824b47
      
      $ diff -s diff javafx-graphics-13-linux-sources.jar javafx-graphics-13-sources.jar
      Files javafx-graphics-13-linux-sources.jar and javafx-graphics-13-sources.jar are identical
      

      Attachments

        1. javadoc-window.png
          17 kB
          John Neffenger

        Activity

          People

            lkishalmi Laszlo Kishalmi
            jgneff John Neffenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: