[ https://issues.apache.org/jira/browse/NETBEANS-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Björn Schmidt updated NETBEANS-3115: ------------------------------------ Description: I'm using many independent gradle (java-library style) projects opened in NB. They are not part of a big multi module project! Whenever I want to navigate to a source file from another project relative to the current one, Netbeans opens the source from ~/.m2/repository.../project.jar and not from the local file of the referenced project which is of course also opened in NB. I already tried to disable all ~/.m2 Sources under Window->Sources but that doesn't change the behaviour (also not after restarting). Even if it would change the behavior I then would have to disable all those automatically added ~/.m2 (which are somehow preferred) references for every project. Maybe I'm just to stupid to find the right (global) option but ATM I think this behavior is a bug. — Attached Test Case: - open both projects in Netbeans - go to NewClass in providedlib - ctrl click on the new Lib2Class statement was: I'm using many independent gradle (java-library style) projects opened in NB. They are not part of a big multi module project! Whenever I want to navigate to a source file from another project relative to the current one, Netbeans opens the source from ~/.m2/repository.../project.jar and not from the local file of the referenced project which is of course also opened in NB. I already tried to disable all ~/.m2 Sources under Window->Sources but that doesn't change the behaviour (also not after restarting). Even if it would change the behavior I then would have to disable all those automatically added ~/.m2 (which are somehow preferred) references for every project. Maybe I'm just to stupid to find the right (global) option but ATM I think this behavior is a bug. — Attached Test Case: - open both projects in Netbeans - go to > Netbeans always uses sources from jar files instead of local (opened) ones > -------------------------------------------------------------------------- > > Key: NETBEANS-3115 > URL: https://issues.apache.org/jira/browse/NETBEANS-3115 > Project: NetBeans > Issue Type: Bug > Affects Versions: 11.1 > Reporter: Björn Schmidt > Priority: Major > Attachments: nbtest.tbz2 > > > I'm using many independent gradle (java-library style) projects opened in NB. > They are not part of a big multi module project! > Whenever I want to navigate to a source file from another project relative to > the current one, Netbeans opens the source from > ~/.m2/repository.../project.jar and not from the local file of the referenced > project which is of course also opened in NB. > I already tried to disable all ~/.m2 Sources under Window->Sources but that > doesn't change the behaviour (also not after restarting). > Even if it would change the behavior I then would have to disable all those > automatically added ~/.m2 (which are somehow preferred) references for every > project. > Maybe I'm just to stupid to find the right (global) option but ATM I think > this behavior is a bug. > — > Attached Test Case: > - open both projects in Netbeans > - go to NewClass in providedlib > - ctrl click on the new Lib2Class statement > -- 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