[ https://issues.apache.org/jira/browse/NETBEANS-2755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874429#comment-16874429 ]
Travis commented on NETBEANS-2755: ---------------------------------- Exactly. For offline development, we simply need a similar feature analogous to the existing "download sources and javadocs" that can provide the same kind of attachment to local files that were previously manually downloaded and saved. > 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: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists