singleton:=true leads to bundle activation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

singleton:=true leads to bundle activation

Lars Vogel-2
Hi,

I'm currently writing a unit test for Platform UI which should prevent
undesired additional plug-in activation.

It looks like that the directive singleton:=true leads to plug-in
activation. Is that intended behavior?

AFAIK only plug-ins with OSGi services or activators require activation.

Best regards, Lars

--
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: [hidden email], Web: http://www.vogella.com
_______________________________________________
equinox-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev
Reply | Threaded
Open this post in threaded view
|

Re: singleton:=true leads to bundle activation

Thomas Watson
Singleton should have nothing to do with activation.  Do you have a scenario to reproduce?

Tom
 
 
 
----- Original message -----
From: Lars Vogel <[hidden email]>
Sent by: [hidden email]
To: Equinox development mailing list <[hidden email]>
Cc:
Subject: [equinox-dev] singleton:=true leads to bundle activation
Date: Tue, Jun 13, 2017 8:38 AM
 
Hi,

I'm currently writing a unit test for Platform UI which should prevent
undesired additional plug-in activation.

It looks like that the directive singleton:=true leads to plug-in
activation. Is that intended behavior?

AFAIK only plug-ins with OSGi services or activators require activation.

Best regards, Lars

--
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: [hidden email], Web: http://www.vogella.com
_______________________________________________
equinox-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev
 


_______________________________________________
equinox-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev
Reply | Threaded
Open this post in threaded view
|

Re: singleton:=true leads to bundle activation

Lars Vogel-2
> Singleton should have nothing to do with activation.

Thanks, for the clarification.

>  Do you have a scenario to reproduce?

I opened Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=518347 and
described one scenario.

On Thu, Jun 15, 2017 at 3:28 PM, Thomas Watson <[hidden email]> wrote:

> Singleton should have nothing to do with activation.  Do you have a scenario
> to reproduce?
>
> Tom
>
>
>
>
> ----- Original message -----
> From: Lars Vogel <[hidden email]>
> Sent by: [hidden email]
> To: Equinox development mailing list <[hidden email]>
> Cc:
> Subject: [equinox-dev] singleton:=true leads to bundle activation
> Date: Tue, Jun 13, 2017 8:38 AM
>
> Hi,
>
> I'm currently writing a unit test for Platform UI which should prevent
> undesired additional plug-in activation.
>
> It looks like that the directive singleton:=true leads to plug-in
> activation. Is that intended behavior?
>
> AFAIK only plug-ins with OSGi services or activators require activation.
>
> Best regards, Lars
>
> --
> Eclipse Platform UI and e4 project co-lead
> CEO vogella GmbH
>
> Haindaalwisch 17a, 22395 Hamburg
> Amtsgericht Hamburg: HRB 127058
> Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
> USt-IdNr.: DE284122352
> Fax (040) 5247 6322, Email: [hidden email], Web:
> http://www.vogella.com
> _______________________________________________
> equinox-dev mailing list
> [hidden email]
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
>
> _______________________________________________
> equinox-dev mailing list
> [hidden email]
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev



--
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: [hidden email], Web: http://www.vogella.com
_______________________________________________
equinox-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev