You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jaroslav Tulach (Jira)" <ji...@apache.org> on 2020/09/20 06:09:00 UTC

[jira] [Created] (NETBEANS-4821) Cannot attach sources to Gradle library

Jaroslav Tulach created NETBEANS-4821:
-----------------------------------------

             Summary: Cannot attach sources to Gradle library
                 Key: NETBEANS-4821
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4821
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Gradle
    Affects Versions: 12.1
            Reporter: Jaroslav Tulach
            Assignee: Laszlo Kishalmi
         Attachments: image-2020-09-20-08-06-46-654.png

I am developing a sample demo using Gradle and I am unable to debug into a library used in a test, as the source isn't available. To try:
{code:java}
$ git clone --single-branch --branch react4jdemo https://github.com/jtulach/netbeans-html4j react4jdemo
$ cd react4jdemo{code}
and open that and its {{api}} subproject in NetBeans 12.1. The attached picture shows what I did:
 * expand the API's project junit-browser-runner library
 * select BrowserRunner.class file
 * right click, Open => opens the bytecode
 * click "Attach Sources" and "Download"
 * an error is shown

I am pretty sure the above workflow would work in a Maven project.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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