activePerspective in workbench.xml not starting [message #902260] |
Thu, 16 August 2012 11:30  |
Eclipse User |
|
|
|
Not sure how to handle this. I have a perspective that I've created, and all it does is display other views from other plugins AND set up services that I need. If I close eclipse with this perspective open, how do I get eclipse to start the Activator of my plugin so that the same services are started when I launch eclipse?
The workbench.xml file shows that my perspective is the activePerspective, yet since I'm not asking for any classes to be loaded, the bundle is not activated.
Thanks,
Carl
|
|
|
|
Re: activePerspective in workbench.xml not starting [message #902334 is a reply to message #902313] |
Fri, 17 August 2012 02:36  |
Eclipse User |
|
|
|
Dave is right you should have asked at the Platform newsgroup (even
better probably equinox) but your real problem is that Eclipse starts
bundles lazy! You need to make it start yours by default instead of lazy
this way your activator is called all the time no matter if a class is
loaded or not.
Tom
Am 17.08.12 02:34, schrieb David Wegener:
> On 08/16/2012 10:30 AM, Carl Goode wrote:
>> Not sure how to handle this. I have a perspective that I've created,
>> and all it does is display other views from other plugins AND set up
>> services that I need. If I close eclipse with this perspective open,
>> how do I get eclipse to start the Activator of my plugin so that the
>> same services are started when I launch eclipse?
>>
>> The workbench.xml file shows that my perspective is the
>> activePerspective, yet since I'm not asking for any classes to be
>> loaded, the bundle is not activated.
>>
>> Thanks,
>> Carl
> You probably should ask on the Platform or RCP newsgroup. This forum is
> for questions pertaining to the Eclipse Java tools not plugin questions.
|
|
|
Powered by
FUDForum. Page generated in 0.31363 seconds