[ https://issues.apache.org/jira/browse/NETBEANS-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaroslav Tulach updated NETBEANS-4821: -------------------------------------- Description: 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 # following identifies the exact version I have on local disk: react4jdemo$ git log | head -n5 commit 1e18917d0be1fc090cc9500c8286119710a29fde Author: Jaroslav Tulach <jaroslav.tul...@apidesign.org> Date: Sun Sep 20 07:50:11 2020 +0200 Verify component class is accessible before generating subclass{code} and open that and its {{api}} subproject in NetBeans 12.1. The following picture... !image-2020-09-20-08-06-46-654.png! ... 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 was: 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 # following identifies the exact version I have on local disk: react4jdemo$ git log | head -n5 commit 1e18917d0be1fc090cc9500c8286119710a29fde Author: Jaroslav Tulach <jaroslav.tul...@apidesign.org> Date: Sun Sep 20 07:50:11 2020 +0200 Verify component class is accessible before generating subclass{code} and open that and its {{api}} subproject in NetBeans 12.1. The following picture... !image-2020-09-20-08-06-46-654.png! ... 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. > 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 > Priority: Minor > 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 > # following identifies the exact version I have on local disk: > react4jdemo$ git log | head -n5 > commit 1e18917d0be1fc090cc9500c8286119710a29fde > Author: Jaroslav Tulach <jaroslav.tul...@apidesign.org> > Date: Sun Sep 20 07:50:11 2020 +0200 Verify component class is > accessible before generating subclass{code} > and open that and its {{api}} subproject in NetBeans 12.1. The following > picture... !image-2020-09-20-08-06-46-654.png! ... 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 > > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- 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