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 242310

Summary: When I rename a library it is not removed from project dependency
Product: java Reporter: Drorcohen
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: Drorcohen, jiriprox
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Drorcohen 2014-02-25 07:08:08 UTC
I've got a project and it's dependent on a library. I've renamed (from the IDE) the library. In the IDE left column-projects) if I press the "project" and then "libraries" I see than the dependent library has changed it's name. However if I go to project properties and in the window that opens look in "Libraries"/"Compile" tab - both new name and old name appear. I only discovered this after I closed the IDE and reopened it - it then reported "a missing dependant library" on the old name.
Comment 1 Drorcohen 2014-02-25 07:24:39 UTC
some more input (After testing on a "Hello, World" clean project:
1. The new lib isn't added to the project dependencies. I needed to add it manually. So the only problem is that it's removed from one view but not from the xml and the "regular" view.
2. When renaming the lib I check boxed the "rename folder"
Comment 2 Tomas Zezula 2015-09-23 13:35:18 UTC
*** Bug 255305 has been marked as a duplicate of this bug. ***
Comment 3 Tomas Zezula 2015-09-25 10:38:00 UTC
Fixed jet-main a36b1f987cff
The project needs to be opened to be fixed.
Comment 4 Quality Engineering 2015-09-26 12:58:32 UTC
Integrated into 'main-silver', will be available in build *201509261150* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a36b1f987cff
User: Tomas Zezula <tzezula@netbeans.org>
Log: #242310:When I rename a library it is not removed from project dependency