sdedic opened a new pull request #2897: URL: https://github.com/apache/netbeans/pull/2897
This is a follow-up to #2499 - the support developed for downloading javadoc/source is extended to: - a project action - a `SourceJavadocAttacherImplementation.Definer` plugin This allows the user to click "Download" in the NetBeans IDE - and ask Gradle to download sources for the user. After (successful) download, the source re-opens instead of .class file. Since the source is downloaded to Gradle-managed area, from that point on its `SourceForBinaryQueryImplementation` should return the newly acquired source automatically. During the course, I've made some little improvements: - `SourceJavadocAttacher` now calls subsequent SPI implementations in the case a former fails to process the resource (the `AttachmentListener` reports a failure). This allows to bail out in case of some network error or something similar condition, giving a chance to the next Attacher - Gradle 'reload' internal process is **sometimes** used to implement an action (prime, reload, download, ...). The loader now prints this info into the status bar to give the user better understanding of why the gradle is being executed, instead of simple "Reloading" message. This helps LSP client - its UI will display this informative string. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- 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
