This article shows how to import and export an Eclipse RCP application to and from the Eclipse IDE workbench. Importing is necessary for example, when you want to download a sample RCP project from the internet and run it yourself. Also, you may need to export your RCP project if you are working on a team of developers and you need to get your code to someone. Importing and exporting an RCP project is easily done by following these steps.
Import
Step 1: Choose File ---> Import. Or right click somewhere in the package explorer to find the import action.
Step 2: On the first page of the Import wizard choose "Existing Projects into Workspace" in the "General" folder. Click Next.
Step 3: On the second page of the Import wizard choose browse for and select the project folder you want to import. Check "Copy projects into workspace". Click Finish. The project now appears in the package explorer!
Export
Step 0: Right-click on the project you'd like to export and choose "Export".
Step 1: On the first page of the Export wizard choose "File System" in the "General" folder. Click Next.
Step 2: On the second page of the Export wizard click on "Browse..." and select the location where you want to export the project. Click Finish. The project is now exported! Now you can zip up the project folder and email it or archive it for example.
Piece of cake!!
<--- Previous - Add an Image to an Eclipse RCP Application
---> Next - Updating a Widget in an Eclipse RCP Application from a Worker Thread
Also see: Eclipse RCP Tutorial Table of Contents
No comments:
Post a Comment