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-boun...@eclipse.org wrote: -----

To: Equinox development mailing list <equinox-dev@eclipse.org>
From: Pascal Rapicault <pas...@sonatype.com>
Sent by: equinox-dev-boun...@eclipse.org
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-boun...@eclipse.org wrote: -----

To: Equinox development mailing list <equinox-dev@eclipse.org>
From: Chris Aniszczyk <caniszc...@gmail.com>
Sent by: equinox-dev-boun...@eclipse.org
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 <pas...@sonatype.com> 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@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

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

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

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

Reply via email to