Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 237834 - Projects randomly opening
Projects randomly opening
Status: RESOLVED INVALID
Product: projects
Classification: Unclassified
Component: Generic Projects UI
8.0
PC Linux
: P3 (vote)
: 8.0
Assigned To: Milos Kleint
issues@projects
:
Depends on: 210465
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-31 02:20 UTC by _ tboudreau
Modified: 2013-10-31 07:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2013-10-31 02:20:49 UTC
I noticed recently that if I open a Maven parent project, now all of its child projects open automatically.  I'm not sure I like that, but I might get used to it.

However, today I'm noticing that if I open one non-parent project which happens to also be in another project group, a bunch of other projects from that group (which may not be the one I'm working in currently) magically open.  I can't believe this is a feature :-)
Comment 1 Milos Kleint 2013-10-31 07:02:20 UTC
you must have triggered "Open required projects" checkbox in the project opening dialog.

related to issue 210465, for maven projects "subproject" is fairly ambivalent term, we have a deterministic implementation for pom packaging projects -> <modules>, but for other packaging it's based on local repository (GAV) linking. That's very confusing and counter-productive in cases of multiple checkouts, but I think jglick claimed we cannot remove for backward compatibility reasons.

issue 203222 also related.
Comment 2 _ tboudreau 2013-10-31 07:19:45 UTC
Yup.  Must have accidentally checked it.

Yeah, I think subproject computation that was part of the weirdness, since it seemed fairly random.

Maybe there should be an "I'm Feeling Lucky" button in the Open Project dialog? :-)
Comment 3 Milos Kleint 2013-10-31 07:23:04 UTC
(In reply to _ tboudreau from comment #2)
> Yup.  Must have accidentally checked it.
> 
> Yeah, I think subproject computation that was part of the weirdness, since
> it seemed fairly random.
> 
> Maybe there should be an "I'm Feeling Lucky" button in the Open Project
> dialog? :-)

The other issues suggest that the non-pom projects should get no "subprojects" computed when opening, under some other conditions having a list of projects my project depends on is useful though. So that's why we need the multiple API contracts


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo