Posted in Misc
In many of the RCP related tips in this website and other sites, the starting point would be this one liner "Create the RCP Mail application". Instead of repeatedly this step in those tips, I've put the steps in this item.
Open the "New" wizard. (Either Ctrl+N or File->New->Other will do)
Select the "Plug-in Project" and click Next
Enter the name of the project and click Next
Select 'Yes' for the RCP Application question and click Next
Select RCP Mail Template from the list of options and click Next
Configure the details of the project and click Finish
Now you would have the RCP project in your workspace. You can run it right away, but it is recommended to have a Product configuration, as it will be required in many other places as well.
Open the "New" Wizard.
Select the "Product Configuration" and click Next
Select the RCP mail project as the parent folder; select "Use existing product" & the RCP Mail product id. Click Finish
Now you can launch the RCP Mail from the Product configuration editor itself.
java.lang.RuntimeException: No application id has been found
Remember, whenever you add any new plugins as dependent plugins in the Manifest.MF, make sure you add those plugins in the product and in the launch configuration as well. Or else you would get the famous: "java.lang.RuntimeException: No application id has been found". The best way to avoid this error is to open the launch configuration of your RCP application and check the "Validate plugins..." check box.
This will come handy in many situations and avoid the error.