Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] manifest - Bundle-NativeCode

Is Windows 2007 really Windows 7? Could you open a bug against Equinox->Framework to look into adding a new Windows alias for this?

By "not load or run on Linux" I assume you mean the bundle is not resolved? If the Bundle-NativeCode header is specified then the framework must find a clause in the list of native code clauses that match the running environment before allowing the bundle to resolve. By default the Bundle-NativeCode header specifies mandatory native libraries for which one must match before allowing the bundle to resolve. If you want the native clauses to be optional then you must append a '*' to the list of clauses:

Bundle-NativeCode: /lib/x86/ntlmauth.dll;selection-filter="(&(osgi.arch=x86)(osgi.os=win32))",
/lib/x64/ntlmauth.dll;selection-filter="(&(osgi.arch=x86_64)(osgi.os=win32))", *


Tom



Inactive hide details for "Steele, Dale" ---05/16/2009 06:44:46 AM---I am having a problem with the Bunde-NativeCode on Linux. "Steele, Dale" ---05/16/2009 06:44:46 AM---I am having a problem with the Bunde-NativeCode on Linux. For Windows I created this Bundle-NativeCode selection (selection-fi


From:

"Steele, Dale" <Dale.Steele@xxxxxxxxxxxxx>

To:

<eclipse-dev@xxxxxxxxxxx>

Date:

05/16/2009 06:44 AM

Subject:

[eclipse-dev] manifest - Bundle-NativeCode




I am having a problem with the Bunde-NativeCode on Linux.
For Windows I created this Bundle-NativeCode selection (selection-filter used because Windows 2007 not part of Win32 keyword)

Bundle-NativeCode: /lib/x86/ntlmauth.dll;selection-filter="(&(osgi.arch=x86)(osgi.os=win32))",
/lib/x64/ntlmauth.dll;selection-filter="(&(osgi.arch=x86_64)(osgi.os=win32))"

My fragment bundle load and works fine under Windows but will not load or run on Linux unless I remove the Bundle-NativeCode section. It is my understanding that the Bundle-NativeCode would be skipped on Linux.

Thanks
Dale


The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it
.
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev

GIF image

GIF image


Back to the top