I am developing an RCP application similar to eclipse.
For eclipse in project navigator, if we delete a project (also the checkbox is marked for deleting the project content from the disk) and press Ctrl + Z, we can see the project is back again but with no content and in most of the case the nature of the project is also gone. I am not able to understand this phenomena. Why a project delete operation should be undoable when the content from the disk is also being deleted?
If you delete the project with the checkbox "Delete project contents on disk" your data is gone. You can not undo this operation.
If you do not select the checkbox Eclipse will be able to 'recover' all of your project.
Related questions:
Return deleted project from Eclipse
Eclipse project was deleted how to undo it? or recover it
try eclipse local history. You might able to recover some source files. Your best bet
Related
First time, When I was trying to delete my project I did Rightclick>project_name>deleteproject then an alert window with a checkbox 'Delete Source folder too' appeared then I unchecked it after that my project was only deleted from netbeans but for the second time when I click on 'delete project' option in the popup window there is no checkbox with 'Delete source folder too' doesn't appeared so I thought it will not going to delete the source folder because as I already selected "don't delete" option while first time I deleted my project, but my guess was wrong the project was deleted from the source path also. My installed netbeans has only with php, javascript & HTML packages. Netbeans is very dangerous IDE I think. Please can anyone tell me how to recover my project?
Note: I searched for the same topic I found few solutions but they were not working though its because of netbeans version I think.
Go to the file viewer, and go to documents, then click on netbeansprojects and they should be there
I've got some projects in Netbeans that I don't want it to be aware of anymore since they're slowing down load time. Unfortunately, I've previously made the mistake of right clicking on the project in Netbeans and selecting "delete". When you do that, it gives this scary message:
"This will delete project "MyProject" so that it cannot be opened in the NetBeans IDE anymore."
If you select yes, it makes damn sure you can't open the project in Netbeans anymore by DELETING the project file that's inside the directory.
So my question is: How do I remove a project from NetBeans (8.2) project list WITHOUT losing my project file?
Just click on Close instead of Delete.
Go to File and close project what you want.
I need help. I was starting to work on a new project in Eclipse and so I decided to rid my package explorer space of any past projects within the IDE. I had 2 projects saved prior to opening the IDE: "new" and "project 1." I proceeded to delete project 1 successfully from the IDE permanently without any issues so I tried to delete "new." "new" was a project directory saved on my desktop and upon deletion within the IDE by right clicking, it deleted random files and folders on my desktop as well as other files I'm not aware of within a second, completely bypassing recycle bin-around 50GB of files. I tried to recover most of the files but they are fragmented and therefore damaged. Is this behaviour normal in Eclipse?
Basically in eclipse when you create a project, you create in a workspace. By default the project gets stored in the work space folder. However you can give a specific directory to save your project
The work space folder will usually have information regarding the projects. In eclipse we have 2 kind of delete. i.e.
1) Logical:- Project will get deleted from work space but there wont be any actual delete of files.
2) Physical:- Complete deletion of project.
I guess you would have opted the second one and the project would be corrupt. May be it had some dependent files outside which got deleted also.
usually when I want to remove the project , I go for soft delete. When I completely want to remove the project then I browse and delete the project folder itself.
You can find other related help regarding Eclipse in
http://help.eclipse.org/indigo/index.jsp
I have deleted a project folder with filesystem utilities, but it is still listed in a project explorer of Eclipse Helios. How to delete project from there too?
Deletion from .metadata.plugins\org.eclipse.core.resources.projects does not help (i.e. folders are deleted from there too, but listed in project explorer nevertheless).
The solution was to "refresh" project explorer. Not sure if it is required to delete folders first, but after it was done and after refresh, Eclipse explicitly asked to remove absent projects.
Can't you just right click in the project explorer and select delete?
In future, use the Eclipse option to delete projects (it also gives you the option of deleting from the file system or not).
The problem can arise when you have deleted a project, but did not click the "delete project contents on disk(cannot be undone)". The project exists in a kind of limbo.
If you get errors reported on this project, then in the "Problems" tab click on the "Resources" line and "Show in.." project explorer. Now you can really delete it.
I've been using Subclipse to manage SVN projects in Eclipse 3.4.2. However, while installing a buggy plugin, Eclipse became so sluggishly unusable that I had to kill the process and restart. Unfortunately, even though I removed the buggy plugin, this appears to have destroyed Subclipse's links to all my SVN projects. The projects themselves are still there, but the "Team" context menu only shows "Apply Patch", and no SVN icon overlays are being displayed. Is there anyway to fix this, or do I have to delete and recreate all my projects?
If your project has the .svn directories (only the Eclipse integration 'has gone missing') you could try Team -> Share Project. In my workspace, Subclipse noticed the presence of the SVN folders and created the appropriate connection.
Edit: if you do not have the Share Project menu maybe the Eclipse installation 'got screwed'. If you do not have the Share Project menu in a newly created project and you do not see the SVN preferences under Preferences --> Team then you should re-install the Subclipse plugin.
If you do not have the Share Project menu only the projects you previously shared with SVN, than you should delete and recreate all your projects (in the delete do not delete the project contents and after the delete select File -> Import -> Existing projects into Workspace).
I also had the same problem and there is a simple fix:
Just rename your project ( right click on the project - Refactor - Rename) and it will re-link your project with svn. (Then you can rename it back).
For me the only thing that worked was:
Copy the entire project.
Eclipse ask to synchronize.
Delete old project.
Rename copied project.