[ https://issues.apache.org/jira/browse/FELIX-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13393375#comment-13393375 ]
Richard S. Hall commented on FELIX-3363: ---------------------------------------- Would such a patch suffice: --- src/main/java/org/apache/felix/framework/util/manifestparser/R4LibraryClause.java (revision 1350978) +++ src/main/java/org/apache/felix/framework/util/manifestparser/R4LibraryClause.java (working copy) @@ -378,6 +378,10 @@ { os = "windows2003"; } + else if (value.indexOf("2008") >= 0) + { + os = "windows2008"; + } else if (value.indexOf("xp") >= 0) { os = "windowsxp"; > Native bundles cannot be installed on Windows Server 2008 r2 with the tag > win32 > ------------------------------------------------------------------------------- > > Key: FELIX-3363 > URL: https://issues.apache.org/jira/browse/FELIX-3363 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: framework-4.0.2 > Environment: Windows Server 2008 R2 > Reporter: Nicolas Roduit > Priority: Minor > Fix For: framework-4.2.0 > > > The Java property "os.name" is "Windows Server 2008 R2" on R2 system. > "osname=win32" in the Bundle-NativeCode entry doe not work, this exception is > thrown:org.osgi.framework.BundleException: Unresolved constraint in bundle > native-lib-windows-x86 [6]: No matching native libraries found. > This osname alias needs to be added to the felix framework. > There is a workaround, just add > osname="windows server 2008 r2"; > after > osname=win32; > in the Bundle-NativeCode entry. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira