Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Events for instance location?

The only time a location service for the instance area should not be registered is if you set the configuration option osgi.instance.area=none.  Otherwise we should be registering the location service and optionally setting it to a value specified by the configuration option osgi.instance.area or using the -data option.

Tom

-----equinox-dev-bounces@xxxxxxxxxxx wrote: -----

To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
From: Pascal Rapicault <pascal@xxxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx
Date: 02/18/2011 10:53AM
Subject: Re: [equinox-dev] Events for instance location?

I have not looked at it myself, but I have been told that no service registration even was ever being sent.

On 2011-02-18, at 11:49 AM, Thomas Watson wrote:

We do register the instance location as a Location service with type=osgi.instance.area service property.  Are you saying you do not see this service registered at all in your environment?

Tom

-----equinox-dev-bounces@xxxxxxxxxxx wrote: -----

To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
From: Chris Aniszczyk <caniszczyk@xxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx
Date: 02/17/2011 01:38PM
Subject: Re: [equinox-dev] Events for instance location?

On Thu, Feb 17, 2011 at 1:32 PM, Pascal Rapicault <pascal@xxxxxxxxxxxx> wrote:
> For some reason I thought that the instance location was being registered as a service. However, I can't seem to find this.
> Did I dream that ? If I did, how can one know when the instance location is actually set?

In PDE, we accomplish this by acquiring the
org.osgi.service.datalocation.Location and then call isSet() on it...

This is what happens when you try to launch on an already in use
workspace and get that wonderful error...

--
Cheers,

Chris Aniszczyk
http://aniszczyk.org
+1 860 839 2465
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top