Hi,
I tried this already, and came up with this:

#This configuration file was written by:
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Wed Jan 07 12:58:01 CET 2009

osgi.launcherPath=.
org.eclipse.update.reconcile=false
eclipse.p2.profile=PlatformProfile
[email protected]/workspace
osgi.framework=file\:plugins\\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
eclipse.buildId=M20080911-1700
org.aspectj.osgi.verbose=true
org.aspectj.weaver.showWeaveInfo=true

osgi.bundles=\
reference\:file\:org.eclipse.equinox.weaving.hook_1.0.0.200812180852....@4,\
reference\:file\:org.eclipse.equinox.transforms.hook_1.0.0.v20080610....@4,\
reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604....@1
:start,\
reference\:file\:org.eclipse.core.runt...@3:start,\
reference\:file\:org.eclipse.equinox.com...@3:start,\
reference\:file\:org.eclipse.core.j...@3:start,\
reference\:file\:org.eclipse.core.contentt...@3:start,\
reference\:file\:org.osgi.service.compon...@3:start,\
reference\:file\:org.eclipse.equinox.internal.util.ev...@3:start,\
reference\:file\:org.eclipse.equinox....@3:start,\
reference\:file\:org.eclipse.equinox.preferen...@3:start,\
reference\:file\:org.eclipse.core.runtime.compatibility.a...@3:start,\
reference\:file\:org.eclipse.equinox.regis...@3:start,\
reference\:file\:org.eclipse.equinox...@3:start,\
reference\:file\:com.my.product.voipserv...@4:start,\
reference\:file\:com.my.servi...@4:start,\
reference\:file\:com.my.servic...@4:start,\
reference\:file\:com.my.servi...@4:start,\
reference\:file\:com.my.servi...@4:start,\
reference\:file\:org.apache.lo...@4:start

org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator\\
bundles.info
aj.weaving.verbose=true
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
osgi.launcherIni=eclipse
osgi.framework.extensions=org.eclipse.equinox.weaving.hook
[email protected]/../p2
osgi.bundles.defaultStartLevel=4
eclipse.product=com.my.product.Product

But my bundles are not started (which means I probably do something wrong).
I would like not to use a custom config.ini thought, because I am going to
write multiple products, each with quite a lot of dependencies. It would be
very easy to have the config.ini stay as it is, and let the product bundle
decide on which dependent bundles to start.

Regards,
Leen

On Wed, Jan 7, 2009 at 4:45 PM, O'Flynn, Dennis <[email protected]
> wrote:

>   You could provide your own customized "config.ini".  The product
> configuration editor allows you to specify the config.ini to use.  This is
> defined within the "Configuration" tab.
>
>
>
>  The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or disclose
> it to anyone else. If you received it in error please notify us immediately
> and then destroy it.
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Leen Toelen
> *Sent:* Wednesday, January 07, 2009 10:43 AM
> *To:* [email protected]
> *Subject:* [equinox-dev] Starting all dependent bundles
>
>
>
> Hi,
>
>
>
> I would like to create a headless product and application meant to be run
> as a windows service (headless). When creating my product (and product
> description) I mention all needed plugins. When I export the service, this
> is my config.ini:
>
>
>
> osgi.splashPath=platform:/base/plugins/com.my.product.service
>
> eclipse.product=service.Product
>
> osgi.bundles.defaultStartLevel=4
>
> osgi.bundles=org.eclipse.equinox.com...@2
> :start,org.eclipse.update.configura...@3
> :start,org.eclipse.core.runt...@start
>
>
>
> When I check the osgi console I see that all my plugins are resolved but
> not started, and I need to do this manually. How can I make sure that they
> are started automatically when the product starts?
>
>
>
> Regards,
>
> Leen Toelen
>
>
> _______________________________________________
> equinox-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to