Skip to main content



      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 10:53 Go to next message
Eclipse UserFriend
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 13:57 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 11:46:54 EDT 2025

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

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

Back to the top