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. --
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: [email protected] Date: 2008-03-10 21:44 Subject: [osgi-dev] Targeting specific Linux Distributions Section 3.9 of the Core Specifications describes how one can restrict the loading of Native Code Libraries to a org.osgi.framework.os.name. I have a set of Java classes that call native libraries that will only run in certain Linux distributions. Is there a way to further restrict a bundle that contains these libraries to load specific these linux distribution specific libraries at a finer granularity (ie ubuntu, centos, fedora,etc. ) than just org.osgi.framework.os.name=Linux? thanks for any help, John Conlon _______________________________________________ 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
