[
https://issues.apache.org/jira/browse/NETBEANS-2755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874421#comment-16874421
]
Laszlo Kishalmi commented on NETBEANS-2755:
-------------------------------------------
If you right click on an external dependency or a "Configurations" node of the
project, it has an option to download JavaDocs and Sources.
Though, it is true that there should be more support on that, including direct
support from Attach sources.
> Gradle project properties: Support for attaching sources for project
> libraries (in gradle.properties, or any project-versionable file)
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: NETBEANS-2755
> URL: https://issues.apache.org/jira/browse/NETBEANS-2755
> Project: NetBeans
> Issue Type: Wish
> Components: projects - Gradle
> Reporter: Travis
> Assignee: Laszlo Kishalmi
> Priority: Minor
>
> I have a large multi-project build which we store in a git repo. Some of our
> developers use Netbeans and would like the library dependency .jar files to
> have attached sources, so that they can conveniently review their
> sources/javadocs during IDE code development. Although it's possible to
> attach sources, the attachment isn't saved inside the project properties, and
> isn't relative to the project root directory. So it doesn't seem possible to
> set up our repo so that netbeans users automatically get attaches library
> source files (where the source files are stored inside the same repo).
>
> Perhaps it would work if I modified our build.gradle to declare the sources
> as build dependencies, but this is bogus and undesirable.
>
> With the older gradle plug-in, I was able to add the sources as dependencies
> in the netbeans-init.gradle, and this worked fine.
>
> Is it possible for the new build-in Gradle support to be enhanced to allow
> library source attachments to be tracked, in a manner that allows both the
> sources and their attachment settings to live inside the project's source
> repo?
>
> (By the way, other than a few missing features and a couple of minor
> exceptions thrown, the new built-in gradle support is really nice, and
> generally works well. The existing customizability is also really good!
> Thank you!)
--
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