You can export projects using the Project Interchange export feature
for the purpose of sharing projects with other developers.
When you export projects using Project Interchange, the entire
project structure is maintained, including metadata files, and you have the
convenience of including required projects for an entire application. The
projects can then be easily imported into another workspace with a single
action.
To export a project using the Project Interchange feature:
- In the Project Explorer, right-click the project that you want
to export, and select Export.
- Select Project Interchange, and click Next.
- Select the projects that you want to export:
- Click Select All to select all projects in
the window.
- Click Deselect All to clear all the check boxes.
- Click Select Referenced to automatically select
projects that are referenced by any of the currently selected projects.
- In the To zip file field, enter the full
path, including the ZIP file name, where you want to export the selected projects.
- If you want to include derived files generated in the project,
select the Include derived files check box. For
example, files generated by tools such as EJB Deploy or WebServices Deploy
are marked as derived, as well as Java .class files. For more information
on which files are considered derived and why you would or would not want
to include them, see Derived resources.
- Click Finish.
The wizard exports the selected projects, including project structure
and metadata, to the specified ZIP file. These projects can then be easily
imported from the ZIP file into another workspace or file system by selecting
the Project Interchange option on the Import wizard.