By definition in the OSGi specification, the location of the system 
bundles (getBundle(0).getLocation()) must equal "system. bundle".

But this does not seem to be what you are asking for. Can you be more 
precise?
-- 

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[EMAIL PROTECTED]

office: +1 386 848 1781
mobile: +1 386 848 3788




"Pernet, Olivier" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
2007-07-26 10:52
Please respond to
OSGi Developer Mail List <[email protected]>


To
<[email protected]>
cc

Subject
[osgi-dev] Retrieving the location of the system bundle






Hi,

Related to my previous question to this group, I now need to retrieve
the location of the system bundle from my running bundle, to be able to
start a new Java process launching the framework JAR. I've been doing
that on Equinox/Linux by using the osgi.framework system property.
This worked fine until I tested on Windows... Here the URL is a bit
bogus and needs taking care of.
So I'm wondering if there's a better, standard way of doing this ?

Thanks for your help,
- Olivier

_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to