From commits-return-25437-archive-asf-public=cust-asf.ponee.io@netbeans.apache.org Mon Nov 25 08:00:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 07856180607 for ; Mon, 25 Nov 2019 09:00:02 +0100 (CET) Received: (qmail 40800 invoked by uid 500); 25 Nov 2019 08:00:02 -0000 Mailing-List: contact commits-help@netbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@netbeans.apache.org Received: (qmail 40790 invoked by uid 99); 25 Nov 2019 08:00:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Nov 2019 08:00:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B4D85E2DF0 for ; Mon, 25 Nov 2019 08:00:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 35436780492 for ; Mon, 25 Nov 2019 08:00:01 +0000 (UTC) Date: Mon, 25 Nov 2019 08:00:01 +0000 (UTC) From: =?utf-8?Q?Bj=C3=B6rn_Schmidt_=28Jira=29?= To: commits@netbeans.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (NETBEANS-3115) Netbeans (gradle) opens sources from source-jar files instead of (opened) projects MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NETBEANS-3115?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bj=C3=B6rn Schmidt updated NETBEANS-3115: ------------------------------------ Attachment: (was: nbtest.tbz2) > Netbeans (gradle) opens sources from source-jar files instead of (opened)= projects > -------------------------------------------------------------------------= --------- > > Key: NETBEANS-3115 > URL: https://issues.apache.org/jira/browse/NETBEANS-3115 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Affects Versions: 11.1 > Reporter: Bj=C3=B6rn Schmidt > Assignee: Laszlo Kishalmi > Priority: Major > Labels: usability > Attachments: nbtest2.tbz2 > > > I'm using many independent gradle (java-library style) projects opened in= NB.=C2=A0 > They are not part of a big multi module project! > Whenever I want to navigate to a source file from another project relativ= e to the current one, Netbeans opens the source from ~/.m2/repository.../pr= oject.jar and not from the local file of the referenced=C2=A0 project which= is of course also opened in NB. > I already tried to disable all ~/.m2 Sources under Window->Debugging->Sou= rces 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 tho= se automatically added ~/.m2 (which are somehow preferred) references for e= very project. > Maybe I'm just to stupid to find the right (global) option but ATM I thin= k this behavior is a bug. > =E2=80=94 > Attached Test Case: > - open both projects in Netbeans > - deploy both project to local maven repo via custom rungradle action (c= lean build publishToMavenLocal) > - go to NewClass in providedlib > - ctrl click on the new Lib2Class statement > Expectation: Lib2Class gets opened from local filesystem, one can directl= y edit the referenced file. > Actual: Lib2Class gets opened from local maven repo, read only. > =C2=A0 > =C2=A0 > =C2=A0 -- 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