Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Use this type instead of that type
Use this type instead of that type [message #43006] Thu, 29 May 2003 14:53 Go to next message
Matthew King is currently offline Matthew KingFriend
Messages: 17
Registered: July 2009
Junior Member
I am wondering if Eclipse has any way of aiding with this problem.

I did some refactoring in projectA (changed a package name and a couple of
class names in that package). Later, I opened ProjectB and replaced a jar in
the lib for ProjectB to with a newer version; it was a jar from ProjectA,
and it included the refactored classes.

Had I been on top of things, I suppose I would have made a project that
combined the source trees of ProjectA and ProjectB when I did the
refactoring in ProjectA. But, I didn't.

So, now, I wonder if Eclipse provides a simple means of telling ProjectB
that oldpackagename.OldClassName is the same as newpackagename.NewClassName
and it would go about and fix all the imports and declarations.

Thanks,
--
Matt King
Re: Use this type instead of that type [message #65337 is a reply to message #43006] Mon, 23 June 2003 17:57 Go to previous message
Philip Lonsing is currently offline Philip LonsingFriend
Messages: 4
Registered: July 2009
Junior Member
Matt King wrote in news:Xns938A5A9E1C6BDmattkingusibmcom@204.138.98.10:
> So, now, I wonder if Eclipse provides a simple means of telling ProjectB
> that oldpackagename.OldClassName is the same as
> newpackagename.NewClassName and it would go about and fix all the
> imports and declarations.

I would apply "Organize Imports" on the source of Project B.

Philip
Previous Topic:Setting Java.Home for ant
Next Topic:"Project Foo does not exist"
Goto Forum:
  


Current Time: Thu Dec 26 13:43:17 GMT 2024

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

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

Back to the top