This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270186 - Extend ProjectModulesModifier to find usages
Summary: Extend ProjectModulesModifier to find usages
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: Dev
Hardware: PC Linux
: P1 normal (vote)
Assignee: apireviews
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2017-03-24 10:57 UTC by Svata Dedic
Modified: 2017-04-02 02:36 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Proposed changes (14.89 KB, patch)
2017-03-24 10:57 UTC, Svata Dedic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2017-03-24 10:57:49 UTC
Created attachment 163932 [details]
Proposed changes

During work following up issue #270094, a missing feature was discovered. Remove operation would happily remove a library from project, based on request to remove it from a specific part (e.g. module A) when other parts (e.g. module B, C) still use the library.

The additional patch introduce "usage finder" into SPI and changes the API implementation so that it does not remove the shared entries.

Please review.
Comment 1 Svata Dedic 2017-03-31 12:03:23 UTC
Implemented as jet-main#2b68eedc334a
Comment 2 Quality Engineering 2017-04-02 02:36:46 UTC
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2b68eedc334a
User: Svata Dedic <sdedic@netbeans.org>
Log: #270186: ProjectModulesModifier extended to allow find usages of a module