[nbdev] Waiver request for #203222

  • From: Milos Kleint < >
  • To:
  • Subject: [nbdev] Waiver request for #203222
  • Date: Mon, 7 Jan 2013 14:36:52 +0100

http://netbeans.org/bugzilla/show_bug.cgi?id=203222

Problem description:

In maven inter-project links are performed through project ownership
of the project artifact in local repository. That means exactly one
proper per artifact at the given time in the IDE. That's posing
problems when multiple checkout of the same Maven GAV artifact
(GroupId-ArtifactId-Version) are to be worked with in the IDE. The
solution that we've been working on in 203222 is to make the project
to artifact bindings persisted per project group. That would allow one
to have different checkouts in different groups and have the project
links work with the current sourcebase.

The only remaining problem is to handle SubProjectProvider correctly.
Currently the definition of the subproject is fairly vague and the
implementation in maven projects differs slightly from what ant
projects are doing. We will need to separate these usecases by
creating new API, like "DependencyProjectProvider" and have relevant
parts of the IDE use the correct interface. It's currently being used
at diverse places and that's why we ask for the waiver, as
implementing now (or even 2 months back) could  pose hidden risks in
subtle changes of behavior at tasks like  debugging or profiling..

Proposed solution for next version:
create new api and have parts of the IDE currently using
SubProjectProvider rewritten..

Impact:
Mostly just maven multi-project setups with 2 separate checkouts,
being worked on concurrently.

Possible workaround:
1. separate project group for each multi-project
2. avoid using "Project+subprojects" type of project group.
3. when opening project, uncheck "Open required projects". Could under
some conditions open the project from the other checkout..

alternatively, use separate user directory for each setup..



Thanks

Milos Kleint


[nbdev] Waiver request for #203222

Milos Kleint 01/07/2013

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close