Indeed it's not. I need to be able to start a new JVM and the OSGi framework implementation within it. Also, I need to install my bundles in there after it's started. I understand that this is likely to be very implementation-dependent. But as most implementations (the 3 open-source ones anyway) seem to come as a single runnable JAR file, I was hoping for some reasonably standard way of getting this file name. For now I've only done it with Equinox, which has a handy "osgi.framework" system property containing the URL I need. But it seems to vary a bit from OS to OS, which is why I am asking for a better way here.
- Olivier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BJ Hargrave Sent: 26 July 2007 16:11 To: OSGi Developer Mail List Subject: Re: [osgi-dev] Retrieving the location of the system bundle 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 _______________________________________________ OSGi Developer Mail List [email protected] http://www2.osgi.org/mailman/listinfo/osgi-dev
