[
https://issues.apache.org/jira/browse/NETBEANS-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17198914#comment-17198914
]
Jaroslav Tulach commented on NETBEANS-4821:
-------------------------------------------
Thanks Laszlo. I have to correct my claim that it works in Maven. It doesn't
work either. The reason is that
[https://repo1.maven.org/maven2/com/dukescript/api/junit-browser-runner/1.0/]
seems to be missing the source JAR all together!
(how could Toni upload a project without sources to Maven central is a mistery,
I thought it cannot pass Nexus checks without sources!)
Maybe a better indication of what the IDE tried and failed would be good. But
otherwise my report is certainly not of any high priority. Maybe for
[~monacotoni] to fix the artifact...
> 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 <[email protected]>
> 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: [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