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 0: Download, transfer and/or locate the RCP project. If you need a practice RCP project, here's on for you: com.eclipsercptutorials.addMenu.zip. If you download this, you'll need to unzip it. Or you can download any of the projects found at the end of most of the tutorials on this website.

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!
ExportStep 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 - Verify User Intent Before Closing an Eclipse RCP Application
---> Next - Add an Image to an Eclipse RCP Application
Also see: Eclipse RCP Tutorial Table of Contents
If you enjoyed this post, make sure you subscribe to the Eclipse RCP Tutorials RSS feed to receive new posts in a reader or via email!
0 comments:
Post a Comment