- This topic has 3 replies, 2 voices, and was last updated 16 years, 3 months ago by Loyal Water.
-
AuthorPosts
-
kurobtMemberAfter quiting myeclipse, I removed java files in a directory, then I restarted myeclipse.
But it was still showing one of theremoved files and enclsing directory as a package..
I tried refreshing the file, the package and the entire source tree, but the package explorer is still showing the file.
Deleting the file didn’t work as myeclipse complains the file doesn’t exist (naturally), but it still shows the file.
Deleting the package node cause the same error message.How do I make myeclipse forget about the file that doesn’t exist?
The file in question is under perforce control and I have perforce plugin installed for myeclipse, in case that matters. (These files have been removed from perforce workspace, not just from the local file system.)
Loyal WaterMemberThis issue is mostly related to the preforce plugin that you have setup with MyEclipse.
Are you able to able to the open the file from the package explorer?
Incase you have a copy of the file in you recycle bin, can add the file to your workspace and try removing it from the package explorer. Does that work?
kurobtMember@support-nipun wrote:
Are you able to able to the open the file from the package explorer?
Incase you have a copy of the file in you recycle bin, can add the file to your workspace and try removing it from the package explorer. Does that work?
No, attempting to open this file result in “Windows cannot find bla bla bla” error.
There is no such file in the recycle bin either. (I don’t use Explorer usually.)Any other way to make Eclipse forget about the file?
Loyal WaterMemberMayne you can try creating a new file with the same name and place it in your workspace and then try deleting it from the package explorer.
If that doesn’t help, you switch to a new workspace (File > Switch Workspace ) and recreate the project.
-
AuthorPosts