Community
Participate
Working Groups
Build 20020515 Due to bug 16116, it is possible to get into a mode where the '.project' file is deleted from a project. If this happens, then the project is unusable, and cannot even be deleted without getting an error. Refresh will usually also complains about this situation.
Actually, related bug is rather bug 16114.
I am unable to reproduce this. Here are the steps that I am using. Is there something which you are doing differently? (I tried this both with a simple project and a java project) - create project aaa - delete .project from file-system - refresh project in Navigator View - get dialog complaining about the .project file - note .project file has been removed from the workspace - use the context menu in the Navigator to delete the project - works ok
The .project file got wiped out by a problem during PDE import.
What was the error that you were getting when trying to delete? What was the error during the refresh? Do you have a .log file that you can attach?
Nothing got written to the .log. The only original complaint was PDE saying something went wrong when deleting some fragment project (*.win32), and from thereon these projects could not be deleted in the resource perspective either. A dialog would come up saying something like could not discard project... The original scenario occured when trying to upgrade an existing self-hosting with PDE, without first deleting existing projects. I tried again with build 20020519 and was able to reproduce the PDE problem, but this time I was able to still delete the offending projects in the resource view.
With similar steps from bug 16114, I also got into a state where I couldn't delete the project. However, the failure to delete the project was because something was holding an open file handle in a JAR file in the project. My guess is that PDE or the import wizard left the file open when it failed to import the project. At this point I couldn't even delete the project directory from windows explorer due to the open file handle. After shutting down and restarting, I was able to delete the project. I wonder if this is the same situation you were in.
*** This bug has been marked as a duplicate of 16114 ***