Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] osgi.bundles property

Well, I'm going purely based on what I've debugged so far.

We were using arquillian container using felix, and the container code 
uses the Framework API only in both the felix impl and the equinox impl. 

I wanted to use equinox by default.

However, the tests work when running the felix container and setting felix.auto.start.

The tests fail when running the equinox container and setting osgi.bundles

- Ray


On Thu, Jul 17, 2014 at 12:23 PM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:

We certainly don't have anything like that, but I am surprised by this since the felix documentation seems to differentiate framework properties from launcher properties [1].  And the felix.auto.* properties all seem to be launcher properties which I would think do NOT apply when using the OSGi Framework API to create a framework.  But maybe I am confused about what they call a launcher vs the framework.

Tom

[1] http://felix.apache.org/site/apache-felix-framework-configuration-properties.html


Inactive hide details for Raymond Auge ---07/17/2014 02:01:25 PM---Actually, it's supported in Felix from the Framework API. feRaymond Auge ---07/17/2014 02:01:25 PM---Actually, it's supported in Felix from the Framework API. felix.auto.start.<start_level>=<url>[\s<ur



From: Raymond Auge <raymond.auge@xxxxxxxxxxx>
To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
Date: 07/17/2014 02:01 PM
Subject: Re: [equinox-dev] osgi.bundles property

Sent by: equinox-dev-bounces@xxxxxxxxxxx




Actually, it's supported in Felix from the Framework API.

felix.auto.start.<start_level>=<url>[\s<url>]+

I'm just confirming a bug in arquillian with their embedded equinox container module which assumes it can start bundles using the 'osgi.bundles' property in the same way felix does.

- Ray


On Thu, Jul 17, 2014 at 11:50 AM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:
    Yes, this is correct.  If you are using the OSGi Framework API then it is up to your own launcher to populate the framework with the initial set of bundles.  We could think about doing something similar to felix which I think does something simple with loading bundles from a bundles/ folder by default.  But then again, I would not be surprised if that is only supported by the felix launcher and not directly by the felix implementation of the Framework API.

    Tom



    Inactive hide details for Raymond Auge ---07/17/2014 01:42:17 PM---So am I right that equinox doesn't support the 'osgi.bundlesRaymond Auge ---07/17/2014 01:42:17 PM---So am I right that equinox doesn't support the 'osgi.bundles' property via the framework API?

    From:
    Raymond Auge <raymond.auge@xxxxxxxxxxx>
    To:
    Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
    Date:
    07/17/2014 01:42 PM
    Subject:
    [equinox-dev] osgi.bundles property
    Sent by:
    equinox-dev-bounces@xxxxxxxxxxx





    So am I right that equinox doesn't support the 'osgi.bundles' property via the framework API?

    It looks like these are only supported via the EclipseStarter which isn't used when calling the Framework API.

    Can I get a confirmation?

    --

    Raymond Augé (@rotty3000)
    Senior Software Architect

    Liferay, Inc. (@Liferay)
    _______________________________________________
    equinox-dev mailing list

    equinox-dev@xxxxxxxxxxx
    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

    equinox-dev@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit

    https://dev.eclipse.org/mailman/listinfo/equinox-dev



--
Raymond Augé (@rotty3000)
Senior Software Architect
Liferay, Inc. (@Liferay)
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
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
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev



--
Raymond Augé (@rotty3000)
Senior Software Architect
Liferay, Inc. (@Liferay)

GIF image


Back to the top