Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » refactoring a project
refactoring a project [message #189796] Thu, 15 March 2007 08:42 Go to next message
Zohar Amir is currently offline Zohar AmirFriend
Messages: 419
Registered: July 2009
Senior Member
Hi,
I'm using WTP 2.0 M5.
I have a dynamic web project which depends on another (java) project. I
added the java project in the "J2EE module dependencies" (BTW: isn't the
term J2EE outdated?). I then refactored the java project and changed its
name. My dynamic web project cannot compile now because it is looking for a
"missing required Java project" (it is looking for a project with the old
name). How can I fix this? Is this a bug?
Thanks,
Zohar.
Re: refactoring a project [message #189860 is a reply to message #189796] Thu, 15 March 2007 14:38 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Zohar wrote:
> Hi,
> I'm using WTP 2.0 M5.
> I have a dynamic web project which depends on another (java) project. I
> added the java project in the "J2EE module dependencies" (BTW: isn't the
> term J2EE outdated?). I then refactored the java project and changed its
> name. My dynamic web project cannot compile now because it is looking
> for a "missing required Java project" (it is looking for a project with
> the old name). How can I fix this? Is this a bug?

It does sounds like a bug - the refactoring should update the module
dependencies as part of the rename, IMO.
To fix it, can't you just edit the J2EE Module Dependencies again,
replacing the old project name with the new one?

Eric
Previous Topic:NoClassDefFoundError
Next Topic:Share my webservices
Goto Forum:
  


Current Time: Fri Apr 26 22:38:12 GMT 2024

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

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

Back to the top