Source code for this tutorial is available on googlecode as a single zip archive, as a Team Project Set or you can checkout the SVN projects directly.
Step 1: create a plug-in and a feature
As products generally should be feature based we first create an empty plug-in project named com.example.product.bundle and a feature com.example.product.feature that contains this project. Simple as that.
Step 2: create the product
Create a new Product Configuration named Example.product in your product plug-in.
On the Overview tab create a new Product Definition. Select a nice Product Name and a unique Product ID. To use the same application as eclipse select org.eclipse.ui.ide.workbench.
Afterwards define your product to be feature based. Switch to the Dependencies tab and add
- org.eclipse.e4.rcp
- org.eclipse.platform
- com.example.product.feature
Save your product and test it by selecting Launch an Eclipse Application on the Overview tab. From there you can also use the export wizard to package your application.




No comments:
Post a Comment