[ 
https://issues.apache.org/jira/browse/NETBEANS-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16955331#comment-16955331
 ] 

John Neffenger commented on NETBEANS-1396:
------------------------------------------

I'm seeing the same thing as [~niabot]: just a few JavaFX methods display the 
Javadoc (in the Javadoc Documentation Window and in the code completion), but 
most methods fail to display the documentation and fail to navigate to the 
source (with a Ctrl-click).

Note that those two places where you see the Javadoc Documentation are created 
from the Sources. In other situations, I get that documentation by attaching 
only the Sources, not the Javadoc. So I don't think the Javadocs are being used 
at all. When they are attached successfully, you're able to "Show documentation 
in external web browser," but that button in the Javadoc window is disabled.


> Maven: Downloaded javadoc / sources not attached to artifact with classifier
> ----------------------------------------------------------------------------
>
>                 Key: NETBEANS-1396
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1396
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Thomas Zimmermann
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: javafx11-javadoc-sources-download.zip
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The Maven artifacts org.openjfx:javafx-controls and friends use a jar with 
> classifier for each operating system for the actual classes, javafx-controls 
> is only an empty shell. If I understand correctly, sources / javadoc are 
> attached in maven by having additional artifacts with the classifiers 
> "sources" and "javadoc". Both are available for javafx-controls etc., but 
> NetBeans doesn't use them for javafx-controls (linux) (the platform specific 
> version with the actual classes). I think that's a bug, NetBeans should use 
> the sources and javadoc artifacts for all artifacts of the same groupId + 
> artifactId.
> Steps to reproduce:
>  # Download attached maven project
>  # Right click Dependencies -> Download Javadoc + Download Sources
>  # Open App.java, see that no source / docs are attached for 
> javafx.application.Application



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to