Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » refactoring - rename
refactoring - rename [message #65725] Tue, 24 June 2003 02:35 Go to next message
Eclipse UserFriend
I want to use the "refactoring - rename" tool to rename a package. The
package has subpackages. So i made some tests and created the following
package structure: testpackage.ding.dong.dingdong

I then added a class named "Nice" under testpackage.ding and a class named
VeryNice under testpackage.ding.ding.dingdong.

With this structure I tried to rename testpackage.ding to testpackage.dingo

As a result I ended up having classes with hierarchy testpackage.dingo.Nice
and testpackage.ding.dong.dingdong.VeryNice. What I want to have is
testpackage.dingo.Nice and testpackage.dingo.dong.dingdong.VeryNice. Can
this behaviour be configured somewhere? I was using the package explorer for
this.

Thanks,
Re: refactoring - rename [message #65750 is a reply to message #65725] Tue, 24 June 2003 03:41 Go to previous message
Eclipse UserFriend
> As a result I ended up having classes with hierarchy
> testpackage.dingo.Nice and testpackage.ding.dong.dingdong.VeryNice.
> What I want to have is testpackage.dingo.Nice and
> testpackage.dingo.dong.dingdong.VeryNice.

You need to rename testpackage.ding.don.dingdong separately. This is
"correct" behaviour, as packages aren't supposed to be hierarchical in Java.
Previous Topic:[ANN] CodePro Express End-of-Quarter Special
Next Topic:newbie question: how to use SAX in eclipse?
Goto Forum:
  


Current Time: Mon May 05 07:12:05 EDT 2025

Powered by FUDForum. Page generated in 0.04508 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top