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?

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


Back to the top