[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] simpleconfigurator and bundle state
- From: Martin Lippert <lippert@xxxxxxx>
- Date: Mon, 18 Oct 2010 12:26:18 +0200
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=BsjuasF5ov2Nt+ZKNaNGmUCmURXO5CFVD3MxVVKPG5el4zNwySqAPoVUCOlDP3DBAr a2WJ8U6XNBmOh3qyjxDe5P5pcfRmE7A5qROV0WcjKfpUMzsUCh6Nu4ry1GJMiWrApLI7 6R8HTHTZPdnEKT32B3WVFX2T7IF9u3LpIYprk=
- User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:18.104.22.168) Gecko/20100915 Thunderbird/3.1.4
I have a question regarding the simple-configurator. What I would like
to do is:
- I have an eclipse-based app
- I wanna let the runtime start a bundle by default
- If I stop this bundle, it shouldn't be started again at next startup
- If I start this bundle again, it should be started again at next startup
So what I thought is that this should be the default behavior of the
OSGi runtime (except the default start of a specific bundle). But I
observe that the simple configurator is starting the bundle always, if
this is mentioned in the bundles.info with true. When I stop the bundle
manually and restart the app, the bundle is started again. This confuses
me since I expected the OSGi runtime to return the app to the state of
its last run.
When I switch the setting within the bundles.info to "false", everything
works fine (as I expected from the OSGi point of view) except that the
bundle is obviously not started at first startup.
Any idea how I can solve this?
Thanks a lot in advance!!!