This chapter Eclipse Close and Reopen Project demonstrate about how to Close a project and Reopen a closed project in Eclipse. Eclipse contain many projects on Workbench user can close this and open this projects as per the need. Following are the concepts covered.
Closing a project
Reopening a project
Closing a project
Description
If a project closed it cannot be changed in the Workbench and even its resource no longer available on the Workbench. But reside on the local file system. For a closed project memory required is less and improve build time as they are not examined at the time of building.
In order to close a project follow the steps mentioned below.
Step 1
Select the Project to closed-> Click on Project menu -> Select the Close Project option as shown in the image below.
Step 2
Now the project gets closed, but can be seen in the Package Explore view with different icon for closed project and open project as shown in the image below.
This is the way to close an unwanted project in Eclipse.
Reopening a project
Description
A closed project is visible in Package Explorer but user cannot use it to perform any changes to the content, so user need to open the project again in order to work on that project. Reopening a project in Eclipse can be done by few clicks as follows.
Select the Closed Project in Package Explorer -> Click on Project menu -> Select Open project as shown in the image below.
Now, the project gets reopened and can be seen in Package Explorer view with Folder icon and its content can be edited by the user as shown in the image below.
In this way user can reopen a closed project in Eclipse.
Summary
Key Points
A closed project require less memory.
By closing the unwanted or unused project improve the build time.
Even after closing the project can be viewed in the Package explore view but its content cannot be edited.