refactoring a project [message #189796] |
Thu, 15 March 2007 08:42  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03921 seconds