[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Package Refactor-Rename broken

From: Hendrik Maryns <hendrik_maryns_at_despammed.com>
Date: 2005-12-09 11:21:34 CET

Sebastien Bigaret schreef:
> Mark Phippard <markp@softlanding.com> wrote:
>>bigaret@portbigaret.ext.enst-bretagne.fr wrote on 12/08/2005 09:36:21 AM:
>>> The problem I have here is that the package Refactor->Rename does not
>>>work when sources are under svn control:
>>>- the package is renamed (e.g. "foo" becomes "foo.bar")
>>>- but eclipse does NOT update the reference to that package in other
>>> classes in the project (e.g. "import foo" are not changed to import
>>> "foo.bar")
>>>However, this works like a charm in any project not under svn control,
>>>in the same workspace.
>>>I have absolutely no idea of how I can diagnose the problem any further.
>>>I searched the ml archives, found some problems w/ package-renaming but
>>>not the one I'm having here. No error message appears in the console.
>>>My configuration: Linux 2.6, Eclipse 3.1.1, subclipse 0.9.37 w/ javaHL
>>>built from subversion 1.2.3.
>>I just did a simple test and it seemed work for me. Did you have the box
>>checked to update references?
> Sorry for the false alarm; a closer look (and deactivation of subclipse)
> revealed that the pb. is only eclipse-related.
> I tracked the bug ultimately to the 'Search' functionality of eclipse,
> which fails to retrieve all references of a package under some
> (still undetermined) circumstances --that's why I first thought that subclipse
> was causing the pb. since the refactoring func. was working weel in
> another project not under svn control.
> Now I'll try to isolate the pb. and report to the eclipse dev. team.
> Thanks for your time and for the fast answer.

Also have a look in similar package renaming problems I reported here,
that do have to do with Subclipse. Just to warn you...


Hendrik Maryns
Received on Fri Dec 9 21:21:34 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.