You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tobias Oelgarte (JIRA)" <ji...@apache.org> on 2019/03/01 21:04:00 UTC
[jira] [Updated] (NETBEANS-2197) Missing code completion and
Javadocs in maven projects with classifier.
[ https://issues.apache.org/jira/browse/NETBEANS-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Oelgarte updated NETBEANS-2197:
--------------------------------------
Attachment: code-completion-ok.png
> Missing code completion and Javadocs in maven projects with classifier.
> -----------------------------------------------------------------------
>
> Key: NETBEANS-2197
> URL: https://issues.apache.org/jira/browse/NETBEANS-2197
> Project: NetBeans
> Issue Type: Bug
> Components: editor - Completion & Templates
> Affects Versions: 11.0
> Environment: All platforms
> Reporter: Tobias Oelgarte
> Priority: Major
> Labels: maven, usability
> Attachments: code-completion-failed.png, code-completion-ok.png
>
>
> If a maven artifact project uses classifiers, then Netbeans isn't able to provide code completion or to display Javadocs.
> To avoid duplication, sources and javadocs usually belong to the 'parent' artifact, which has no classifier. But the actually used jar archive (the library) resides within the artifact with classifier.
> A good example for this is JavaFX. The artifact [javafx-base|http://central.maven.org/maven2/org/openjfx/javafx-base/11.0.2/] is an empty shell and depending on the operating system the platform dependent library is used, by utilizing classifiers. In the case of linux this would be the _javafx-base-11.0.2-linux.jar_.
> Netbeans will not find the corresponding sources or javadoc archives, because it looks for {color:#14892c}_javafx-base-11.0.2-linux-sources.jar_{color} and {color:#14892c}_javafx-base-11.0.2-linux-javadoc.jar_{color}, but it won't look for {color:#f79232}_javafx-base-11.0.2-sources.jar_{color} and {color:#f79232}_javafx-base-11.0.2-javadoc.jar_{color}.
> As a temporary solution i created symlinks to the existing sources and javadoc archives. But this solution also doesn't work as excepted. The sources are found, but the Javadocs for a field or method can only be displayed as long all parameters and return types belong to the same artifact.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists