Google+

Like Us On Facebook


Total Pageviews

163. Deleting the Java Project from Eclipse IDE Workspace path






In order to delete the Project completely, we need to delete it not only from Eclipse IDE but also from the Eclipse IDE workspace path on your computer.

Lets Implement this on Eclipse IDE -

1. Launch Eclipse IDE, create a new Java Project 'Project 011' as shown below -

 

2. Right Click on the Project, select 'Properties' option and find the location where the Project is stored on your computer (i.e. Eclipse IDE workspace path) -


3. Close the Eclipse IDE, Go the location on your computer and observe that the Project is available at the location as shown below -

4. Delete the Project from Eclipse IDE first as shown below -


5. Now lets go to the location of Eclipse IDE workspace shown in step 3 and Delete the folder 'Project 011' as shown below -


5. Observe that the Project is deleted from the workspace location as shown below -


Now you can create or import the Java Project with the same name of the deleted project without any issues, as we have completely deleted the Java Project by deleting it from Eclipse IDE and Eclipse Workspace location path on your computer. In order to ensure that we are able to create the project with the same name of the deleted project, lets follow the below steps -

1. In Eclipse, select 'New' -> 'Java Project' from File Menu as shown below -


2. In 'New Java Project' dialog, enter the name of the deleted Java Project 'Project 011' and click on 'Finish' button as shown below -


3. Observe that a brand new project is displayed instead of displaying the deleted project as shown below -



Now lets export the newly created project in the above step 'Project 011', delete it from Eclipse IDE, delete it from Eclipse IDE workspace location folder and import it, to ensure that we can import the project with same name of the deleted project after deleting it completely from Eclipse IDE and its workspace path. Please follow the below steps to implement -

1. Export the Project 'Project 011' as explained in Post#67

2. Delete the Project 'Project 011' from Eclipse IDE as shown below -


3. Delete the Project 'Project 011' from Eclipse IDE workspace path as shown below -


4. Now import the project 'Project 011' which is exported in step1 by following the belo w steps

5. Select 'Import' option from Eclipse IDE -> File Menu as shown below -


6. In 'Import' dialog, select 'Existing Projects into workspace' and click on 'Next' button as shown below -


7. Select 'Select Archive File' radio button and click on 'Browse' button as shown below -


8. Select the Exported Project file 'Project 011' and click on 'Open' button as shown below -


9. Observe that the imported project got selected in the Import dialog and click on 'Finish' Button as shown below -


10. Observe that the imported Project 'Project 011' got added to the Eclipse IDE without any issues as shown below -


So, on deleting the project from Eclipse IDE and its workspace path, we can create it with the same name of the deleted project and also we can import it with the same name.




Please comment below to feedback or ask questions.

Debugging the Java Programs in Eclipse IDE will be explained in the next post. 





No comments:

Blog Index