You can use any property available from BundleContext.getProperty (which 
is backed by System.getProperty). So you can use any system property to 
select upon. 

So you could see if there is already some system property to help you 
determine the linux flavor or set such a property on the VM command line.
-- 

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




From:
"John E. Conlon" <[EMAIL PROTECTED]>
To:
OSGi Developer Mail List <[email protected]>
Date:
2008-03-11 10:51
Subject:
Re: [osgi-dev] Targeting specific Linux Distributions



Yes I did, but the values for the operating system name shown in table 8 
on page 89-266 (core spec) only give one choice for Linux

org.osgi.framework.os.name=Linux



BJ Hargrave wrote:
> Did you look at the selection-filter parameter of Bundle-NativeCode? 
This 
> gives you more power to further restrict. See section 3.9 in the spec.
> 

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


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

Reply via email to