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 109611 - Refactoring in free-form projects
Summary: Refactoring in free-form projects
Status: RESOLVED DUPLICATE of bug 57656
Alias: None
Product: java
Classification: Unclassified
Component: Freeform (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Milan Kubec
Depends on:
Reported: 2007-07-13 11:15 UTC by psadowski
Modified: 2007-07-15 14:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Example projects to replicate issue (9.17 KB, application/octet-stream)
2007-07-13 11:55 UTC, psadowski

Note You need to log in before you can comment on or make changes to this bug.
Description psadowski 2007-07-13 11:15:05 UTC
Not sure if its free-form or refactoring specific issue... In free-form project Find Usages (and all refactoring 
functions) dont find all usages. Example: I have two projects Project1 and Project2, Project2's classes are in 
Project1's classpath. Class A is in Project1, class B is in Project2. Class A extends class B. If I open class A in 
editor, click on class B name and start Find Usages, NetBeans will find all usages of class A in both projects. If I 
open class B in editor and start Find Usages with that class in editor (I guess NetBeans has some of context which 
project it works in, depending on file being edited) NetBeans will find usages only in Project2. 
This issue makes me unable to refactor base classes located in different projects than classes that use those base 
classes (only base classes get refactored, not classes using them). Question is this a bug (projects are fine, it 
should work) or a feature (I have misconfigured projects). If its a feature, how do I configure free form project (some 
kind of project dependency?) so refactoring between projects would work? 
Issue is found in both NetBeans 5.5.1 and 6M10.
Comment 1 psadowski 2007-07-13 11:55:45 UTC
Created attachment 45057 [details]
Example projects to replicate issue
Comment 2 Milan Kubec 2007-07-15 14:46:36 UTC
Already reported.

*** This issue has been marked as a duplicate of 57656 ***