Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to configure dropins folder to activate bundles automatically?
How to configure dropins folder to activate bundles automatically? [message #524977] Mon, 05 April 2010 01:23 Go to next message
Sahoo Missing name is currently offline Sahoo Missing nameFriend
Messages: 26
Registered: July 2009
Junior Member
Hi,

Reading some documentation, I was under the impression that if I dropped an OSGi bundle to dropins/, it would automatically be activated. I saw it getting RESOLVED only. How do I configure dropins to ACTIVATE bundles by default?

I am on Eclipse 3.5.2.

Thanks,
Sahoo
Re: How to configure dropins folder to activate bundles automatically? [message #525031 is a reply to message #524977] Mon, 05 April 2010 13:37 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Sahoo wrote:
> Hi,
>
> Reading some documentation, I was under the impression that if I dropped
> an OSGi bundle to dropins/, it would automatically be activated. I saw
> it getting RESOLVED only. How do I configure dropins to ACTIVATE bundles
> by default?

AFAIK it's working correctly. The dropins bundle will auto-install a
bundle. But the bundle will only become active 1) if it's a plugin with
auto-start set to true and something accesses a class from the bundle or
2) if you activate it programmaticly or from the OSGi console.

PW



--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: How to configure dropins folder to activate bundles automatically? [message #525079 is a reply to message #525031] Mon, 05 April 2010 18:07 Go to previous messageGo to next message
Sahoo Missing name is currently offline Sahoo Missing nameFriend
Messages: 26
Registered: July 2009
Junior Member
OK, that explains the observed behavior. Let me ask how I can have a pure OSGi bundle autostarted by eclipse if I don't want my users to use the OSGi console.

Thanks,
Sahoo
Re: How to configure dropins folder to activate bundles automatically? [message #525678 is a reply to message #525079] Wed, 07 April 2010 12:58 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Sahoo wrote:
> OK, that explains the observed behavior. Let me ask how I can have a
> pure OSGi bundle autostarted by eclipse if I don't want my users to use
> the OSGi console.

You can write code. In one of your other plugins, if you can find the
Bundle call Bundle.start(Bundle.START_TRANSIENT) or whatever if it is
not already started.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:google appengine deploy failing due to http.proxyHost & http.proxyPort system properties
Next Topic:how to update the eclipse crossing-version?
Goto Forum:
  


Current Time: Sat Dec 14 20:49:44 GMT 2024

Powered by FUDForum. Page generated in 0.03810 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top