Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving

Hi Ted,

   I'm up on starting services and this is how we have it working for plain OSGi apps in Equinox.  The issue is around my lack of experience with the different ways to launch Equinox.  Launching an RCP app is not the same as just starting up an Equinox with a bunch of bundles with services.  The problem I was running into when I tried this was that my services were not started before the RCP main application was started.

   I'm currently revisiting the Comics RCP example to get a better picture of the issues and hopefully someone will be able to help me clear them.  I'll also get a plain OSGi weaving example checked into the EclipseLink SVN trunk along with some docs.  I'll post when it's checked in.

   Shaun

Ted Pricer wrote:
This is a continuation of a discussion started in the
eclipse.rt.eclipselink newsgroup:

Shaun,

I think the way to start a specific service is to specify the
containing bundle in the osgi.bundles section of config.ini file (or
just as a system property) with an entry such as:

osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@4:start,org.eclipse.core.runtime@start,org.eclipse.eclipselinkbundletostart:start

Substituting for org.eclipse.eclipselinkbundletostart.

Which bundle includes the service that needs to start for dynamic
weaving to work?

Ted
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
  

--


Oracle
Shaun Smith | Principal Product Manager, TopLink | +1.905.502.3094
Oracle Fusion Middleware
110 Matheson Boulevard West, Suite 100
Mississauga, Ontario, Canada L5R 3P4

Back to the top