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

Jose Pereda edited comment on NETBEANS-1396 at 1/20/19 8:09 PM:
----------------------------------------------------------------

There is an [issue|https://github.com/openjfx/openjfx-docs/issues/44] filed at 
the OpenJFX.io docs about this. It happens not only with Maven, but with Ant 
and Gradle JavaFX 11 projects.

As discussed there, a possible explanation of the issue is this:

> NetBeans only adds javadoc/source jars for a jar with the exact same name and 
>{{-javadoc}}/{{-source}} suffix

With that in mind I've tested a possible workaround for Maven, and I've posted 
it here:

[https://stackoverflow.com/questions/54278159/javafx-11-in-netbeans-10-with-maven-has-no-sources-javadocs]

Of course, this is a workaround, not a proper fix, but maybe that helps in 
order to find one.

 

 


was (Author: jpereda):
There is an [issue|https://github.com/openjfx/openjfx-docs/issues/44] filed at 
the OpenJFX.io docs about this. It happens with Ant, Maven and Gradle JavaFX 11 
projects.

As discussed there, a possible explanation of the issue is this:

> NetBeans only adds javadoc/source jars for a jar with the exact same name and 
>{{-javadoc}}/{{-source}} suffix

With that in mind I've tested a possible workaround for Maven, and I've posted 
it here:

[https://stackoverflow.com/questions/54278159/javafx-11-in-netbeans-10-with-maven-has-no-sources-javadocs]

Of course, this is a workaround, not a proper fix, but maybe that helps in 
order to find one.

 

 

> 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
>         Attachments: javafx11-javadoc-sources-download.zip
>
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
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