rich client 2.0

Extending the Eclipse RCP Mailtemplate with Marketplace functionality


5. October 2010
Tom Seidel @ 12:16

05.10_1.pngLast week I wrote about using the Eclipse marketplace client for your own needs. Today I want to show you based on the RCP Mailtemplate how to integrate your own marketplace into your own RCP application.

For demo purposes I’ve installed a marketplace server here, which acts as a server endpoint and provides the required listings for the marketplace-client. This server software can be downloaded here.  

The only thing you have to do is to register this server in your RCP application. Therefore you have to add the following dependency:

  • org.eclipse.epp.mpc.ui

Now you can create a new extension point which describes your marketplace-server, like:

05.10_3.png

If you start your RCP application you’ll see a new menu-entry under help, which opens the marketplace client, and lists you all installable components.

05.10_2.png
Administration panel of the Marketplace server

I’ve created a build of the RCP Mailtemplate with an integrated marketplace, you’ll find the link at the bottom of this page.

There is only one drawback: Due to Bug 313581 the default marketplace is always registered as a service endpoint. Either you remove the entry from the plugin.xml of the marketplace-client bundle or you write some Equinox Transformer Hooks to wipe out this entry from your Extension-Registry.

Downloads

Download the Mailtemplate RCP Build - Windows 32-Bit (22 MB)
Download the Mailtemplate RCP Build - Windows 64-Bit (22 MB)
Download the Marketplace-Server (14MB)

1 Comment »

  1. Hi,

    I would like to host my own market place like what you have done, but on a much lower scale within a group of people within our organization. I have downloaded the server software and have hosted it in my tomcat server. Due to some problem, the application is not loading.

    Could you please tell me what configuration I need to make in the properties file ?. Also I would like to tailor the server page a bit [like add links to user comments, test-data etc]

    Thanks in advance for help.

    ~M

    Comment by M — 16. January 2012 @ 12:05

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress