In this article will present how to import and export Java Project to/from Eclipse.
To import an entire Eclipse project from an archive file or a folder, follow these steps.
Go to File -> Import... The following dialog will appear.
Select Existing Projects into Workspace. You can also use the search text box to find easier the wanted option.
If you import the project from archive click the Select archive file and click the Browse button on the following dialog. If you import the project from a folder click the Select root directory and click the Browse button on the following dialog.
Find the archive file or the folder on your hard disk. Click Open to select it.
In the Projects list, the project should be already selected. Click Finish to import the project into Eclipse.
Congratulations, the project should now appear in your Project Explorer view!
To export an entire Eclipse project into an archive file, follow these steps.
Go to File -> Export... The following dialog will appear.
Select Archive File in the list presented in the figure above and click Next. You can also use the search text box to find easier the wanted option.
The following window will appear. Click the checkbox next to the project you would like to export. From Options section, you can choose the archive format and other project related options.
In the window above, click Finish. Eclipse will export and archive your project into an archive file and store it in the location you specified.