Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Plugin does not seem to start when running exported product
Plugin does not seem to start when running exported product [message #653799] Fri, 11 February 2011 04:07 Go to next message
Ivan Larionov is currently offline Ivan Larionov
Messages: 37
Registered: July 2009
Member
Hi Everyone,

I would be grateful if someone could help me with the following issue:

I made two plugins A and B. B defines an application and A just makes
contributions in the UI. I exported these plugins as an RCP product.

When I ran the exported product, the application started and everything
seemed fine except that there were no UI extensions made by the plugin
A. Later, when I tried to elaborate in the console with the help of 'ss'
command I found out that the A plugin had not started at all. My further
attempts to set @start option in the config.ini for the plugin A did not
lead to any success. Everything starts just fine when running from the
IDE using launch configuration. But in exported product it doesn't.

Would anybody suggest what might be problematic?

Thanks,
Ivan
Re: Plugin does not seem to start when running exported product [message #653806 is a reply to message #653799] Fri, 11 February 2011 05:01 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5242
Registered: July 2009
Senior Member
Is the plugin.xml part of your build.properties?

Tom

Am 11.02.11 10:07, schrieb Ivan Larionov:
> Hi Everyone,
>
> I would be grateful if someone could help me with the following issue:
>
> I made two plugins A and B. B defines an application and A just makes
> contributions in the UI. I exported these plugins as an RCP product.
>
> When I ran the exported product, the application started and everything
> seemed fine except that there were no UI extensions made by the plugin
> A. Later, when I tried to elaborate in the console with the help of 'ss'
> command I found out that the A plugin had not started at all. My further
> attempts to set @start option in the config.ini for the plugin A did not
> lead to any success. Everything starts just fine when running from the
> IDE using launch configuration. But in exported product it doesn't.
>
> Would anybody suggest what might be problematic?
>
> Thanks,
> Ivan
Re: Plugin does not seem to start when running exported product [message #653843 is a reply to message #653806] Fri, 11 February 2011 08:39 Go to previous messageGo to next message
Ivan Larionov is currently offline Ivan Larionov
Messages: 37
Registered: July 2009
Member
Hi Tom,

Yes! You are absolutely right. I added it in the build.properties and
everything started working.

The platform hadn't recognized the bundle as a plug-in, I suppose.

Thank you very much.

Regards,
Ivan

On 11.02.2011 12:01, Tom Schindl wrote:
> Is the plugin.xml part of your build.properties?
>
> Tom
>
> Am 11.02.11 10:07, schrieb Ivan Larionov:
>> Hi Everyone,
>>
>> I would be grateful if someone could help me with the following issue:
>>
>> I made two plugins A and B. B defines an application and A just makes
>> contributions in the UI. I exported these plugins as an RCP product.
>>
>> When I ran the exported product, the application started and everything
>> seemed fine except that there were no UI extensions made by the plugin
>> A. Later, when I tried to elaborate in the console with the help of 'ss'
>> command I found out that the A plugin had not started at all. My further
>> attempts to set @start option in the config.ini for the plugin A did not
>> lead to any success. Everything starts just fine when running from the
>> IDE using launch configuration. But in exported product it doesn't.
>>
>> Would anybody suggest what might be problematic?
>>
>> Thanks,
>> Ivan
>
Re: Plugin does not seem to start when running exported product [message #653844 is a reply to message #653843] Fri, 11 February 2011 08:46 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5242
Registered: July 2009
Senior Member
Am 11.02.11 14:39, schrieb Ivan Larionov:
> Hi Tom,
>
> Yes! You are absolutely right. I added it in the build.properties and
> everything started working.
>
> The platform hadn't recognized the bundle as a plug-in, I suppose.

No. This does not matter but without the plugin.xml you are not
contributing anything. A plug-in does not necessarily have to have a
plugin.xml

Tom
Re: Plugin does not seem to start when running exported product [message #653845 is a reply to message #653844] Fri, 11 February 2011 08:48 Go to previous message
Ivan Larionov is currently offline Ivan Larionov
Messages: 37
Registered: July 2009
Member
On 11.02.2011 15:46, Tom Schindl wrote:
> No. This does not matter but without the plugin.xml you are not
> contributing anything. A plug-in does not necessarily have to have a
> plugin.xml

Yes, that I should have guessed myself. :)

Thanks,
Ivan
Previous Topic:application can't start after exported
Next Topic:Spelling correction in hover
Goto Forum:
  


Current Time: Fri Jul 25 11:58:06 EDT 2014

Powered by FUDForum. Page generated in 0.26463 seconds