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.

 

 

More articles :

» Making good Eclipse RCP apps for Mac

Eclipse isn't a perfect app on Mac platform. Right from unzipping to "install" to not being packaged as a single .app file, its far from being accepted as a perfect application. But beyond these things, Eclipse does provides some support for Mac...

» Opening an Editor programmatically

When you click on a file in the Package Explorer or Navigator, the file will open the associated editor. If you are looking for a way to do the same action through code, this tip is for you.

» Selection Dialogs in Eclipse

If you are an Eclipse Plug-in developer, you must have used the MessageDialog. There are many other Dialogs provided by Eclipse Platform are reusable and part of the API. I'll try to explain the various selection dialogs that I know of. In case I've...

» Top 10 mistakes in Eclipse Plug-in Development

Having trained a lot of new comers to the Eclipse plug-in development, I've seen certain common mistakes repeated all the time. I've tried to compile a top 10 list of such common mistakes, so next time you hit them, you will know that you are not...

» A short tutorial on Intro/Welcome

 Welcome page in Eclipse provides you a unique way to introduce your product to the new users. Its very flexible and can be extended by other plugins. You can create the entire Welcome view by yourself by extending the org.eclipse.ui.intro and...

Subscribe To

Unless stated, all the text contents of this site is available under Eclipse Public License