Bug 20051 - Renaming: Operation cannot be performed
Summary: Renaming: Operation cannot be performed
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: 2.0 F3   Edit
Assignee: Erich Gamma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-12 13:00 EDT by Wassim Melhem CLA
Modified: 2002-06-13 08:30 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wassim Melhem CLA 2002-06-12 13:00:06 EDT
Using the 06/12 integration build.
1. Create a plug-in project.
2. Try to rename it using refactor->rename..., you get the Java message dialog 
saying:
"The resource is not on the build path of a Java project".

First, what does this message mean?
Second, are we not allowed to change the name of a PDE project after it is 
created?
Comment 1 Adam Kiezun CLA 2002-06-12 13:07:16 EDT
nope
this is a bug
(the workaround is to rename it in the navigator view)
Comment 2 Adam Kiezun CLA 2002-06-12 14:35:39 EDT
a fix for this went in for F3

i'll keep the bug report open - we'd like to understand why some
projects answer yes to isOnClasspath() when asked about themselves 
and some do not

but the original problem _is_ fixed and you will be able to rename PDE projects
in the F3 build
Comment 3 Dirk Baeumer CLA 2002-06-12 14:48:10 EDT
This is a regression so I close the bug since it got fixed. Open new bug 
http://dev.eclipse.org/bugs/show_bug.cgi?id=20059 against JDT/Core.

Fix went into build 20020612a.

Fix has been reviewed by Dirk Baeumer
Comment 4 Dirk Baeumer CLA 2002-06-13 08:30:45 EDT
Verified. TB