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 199716 - Refactoring package names misses metadata
Summary: Refactoring package names misses metadata
Status: RESOLVED DUPLICATE of bug 144150
Alias: None
Product: apisupport
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 03:13 UTC by Geoff_C
Modified: 2011-06-27 23:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff_C 2011-06-27 03:13:19 UTC
When working with module suites, when a package name is altered the files "Module manifest" and "Project Metadata" are not updated with the new package name.

Any other modules within the suite that depend on the refactored module and public package are not updated either, so they need to have their properties windows opened for each module, go to "Libraries", remove the reference to the old module and create a new reference.
Comment 1 Jesse Glick 2011-06-27 23:19:18 UTC
(In reply to comment #0)
> When working with module suites, when a package name is altered the files
> "Module manifest" and "Project Metadata" are not updated with the new package
> name.

If you are referring to renaming a package within a module, this is a duplicate of bug #144150 or bug #151116 or bug #189503.

> they need to have their properties
> windows opened for each module, go to "Libraries", remove the reference to the
> old module and create a new reference.

If you are referring to changing the code name base of a module, this is not supported - it is incompatible for any deployed installations.

*** This bug has been marked as a duplicate of bug 144150 ***