Community
Participate
Working Groups
For some reason, my installation of Eclipse is not updating any references when I rename anything, from package names down to methods. Class-related renames update everything within that class, but that's all. This happens to me with both the 20020321 stable build and M5. And, yes, the "Update references to renamed element" checkbox is checked. I even tried unchecking it just in case it was just a backward boolean check. There are several other people in my office using the same builds of Eclipse, but they don't experience this problem, so I'm assuming this has something to do with a screwed-up setting in my .metadata directory. I've grown very dependent on Eclipse's refactoring capabilities, so this is really killing me. Help!
can you try the following for me: select a type and do 'search for references'? what do you see? are all references found?
I forgot to mention this in the original description, but searching for references doesn't work either. I suspect this is the heart of the refactoring problem, too, since refactoring works within the class being modified.
moving to jcore for comment
Can you provide simple reproduceable steps ? Or provide us with your workspace if unable to isolate scenario ?
John - any steps to reproduce ? If not there is little we can do for this one in particular.
No, other than doing anything that involves reference searching. I tried turning on debug statements in Eclipse for searching and indexing via the a .options file in the folder containing the eclipse.exe file. After running Eclipse and performing a reference search, the debug statements in the console correctly reflect all the classes that reference the type I entered, but I still see nothing in the search tab within Eclipse.
Do you have anything in the .log file in your .metadata folder?
John - Please give it a try with latest F1 or 20020528 build. If it still happens, then we will need a workspace for reproducing this problem.
In response to Olivier Thomann's question, no, my .log file just contains the following: <?xml version="1.0" encoding="UTF-8"?> <log> </log> I finally gave up on the problem and rebuilt my project, which I figured out earlier eliminates the problem regardless of the Eclipse build I'm using. I still have the .metadata directory that reveals the problem if you guys want to keep pursuing this, but as far as I'm concerned you can close out this bug.
Cannot reproduce. Closing
Verified.
Hi folks, This is happening to me in Oxygen with a Spring Maven multimodule project. I have a maven module "jobs-dao" with a Class and when i make a refactor of a methodname then the module jobs-process" that use the dao is not updating the reference name change.