Bug 110002 - rename package caused error
Summary: rename package caused error
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-09-20 08:25 EDT by mike.andrews@sac.com CLA
Modified: 2009-08-30 02:09 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mike.andrews@sac.com CLA 2005-09-20 08:25:22 EDT
setup: i have two source folders, qweb and qweb-api. in each, there is a package
named com.sac.qweb.data. in qweb-api/com.sac.qweb.data there is interface
IAccountData. each method of interface has @NonPerturbative annotation, where
@NonPerturbative is in other source folder but same package qweb/com.sac.qweb.data. 

i renamed qweb-api/com.sac.qweb.data to qweb-api/com.sac.qweb.data.x and
resulting error was "NonPerturbative cannot be resolved to a type". thus,
refactoring (renaming package) failed to find existing reference to annotation
com.sac.qweb.cache.NonPerturbative in the other source directory (qweb).
Comment 1 Frederic Fusier CLA 2005-09-21 17:52:57 EDT
I've tried with Refactor->Rename and it works well (using 3.1 official build
I20050627-1435). Refactor operation includes an import in IAccoundData interface:
import com.sac.qweb.data.x.NonPerturbative;
and everything is OK after the rename...

How do you rename your package? If you renamed it in editor, it's clear it could
not work properly...
Comment 2 Olivier Thomann CLA 2006-10-10 11:38:51 EDT
Closing as REMIND since no feedback for comment 1.
Comment 3 Denis Roy CLA 2009-08-30 02:09:09 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.