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.
Step 1:
Open the "New" wizard. (Either Ctrl+N or File->New->Other will do)
Step 2:
Select the "Plug-in Project" and click Next

Step 3:
Enter the name of the project and click Next

Step 4:
Select 'Yes' for the RCP Application question and click Next

Step 5:
Select RCP Mail Template from the list of options and click Next

Step 6:
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.
Step 1:
Open the "New" Wizard.
Step 2:
Select the "Product Configuration" and click Next

Step 3:
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.
| < Prev | |
|---|---|


