fabric3
Content
Documentation
Developer Reference
Packaging
Packaging Native Libraries
Packaging Native Libraries
search
attachments
weblink
advanced
image-effects
image-attributes
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
Colour picker
More colours
Formatting
Strikethrough
Subscript
Superscript
Monospace
Clear formatting
Bullet list
Numbered list
Task list
Outdent
Indent
Align left
Align center
Align right
Page layout
Link
Table
Insert
Insert content
Files and images
Link
Symbol
Emoticon
Markup
Horizontal rule
Insert macro
User mention
Jira Issue/Filter
Info
Status
Gallery
Table of Contents
Jira timeline
Lucidchart Diagrams
Trello Board
Other macros
Page layout
No layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Find/Replace
Keyboard shortcuts help
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account.
<p>Sometimes there is a need to include some native libraries in contribution. Fabric3 offers easy and efficient way how to do it. All it needs to be done is include them in sca-contribution.xml file:</p><table class="wysiwyg-macro" data-macro-name="code" data-macro-parameters="language=xml|title=sca-contribution.xml" data-macro-schema-version="1" style="background-image: url(https://fabric3.atlassian.net/wiki/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGU6bGFuZ3VhZ2U9eG1sfHRpdGxlPXNjYS1jb250cmlidXRpb24ueG1sfQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre><?xml version="1.0" encoding="UTF-8"?> <contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:f3="urn:fabric3.org"> <f3:library path="META-INF/native/sigar-x86-winnt.lib"> <os name="Windows" processor="x86"/> </f3:library> <f3:library path="META-INF/native/sigar-x86-winnt.dll"> <os name="Windows" processor="x86"/> </f3:library> <f3:library path="META-INF/native/sigar-amd64-winnt.dll"> <os name="Windows" processor="x86-64"/> </f3:library> <f3:library path="META-INF/native/libsigar-amd64-linux.so"> <os name="Linux" processor="x86-64"/> </f3:library> <f3:library path="META-INF/native/libsigar-universal64-macosx.dylib"> <os name="Mac OS X" processor="x86-64"/> </f3:library> </contribution></pre></td></tr></table><p>Libraries needs to be in respective directories (e.g. META-INF/native). When runtime is booted, fabric3 copy the respective libraries (depending on os, architecture, ...) to tmp/native dir in runtime directory and set the JVM library path to include those libraries.</p><p>Possible processor attribute values:</p><ul><li>x86_64</li><li>x86</li><li>68k</li><li>arm</li><li>alpha</li><li>ignite</li><li>mips</li><li>parisc</li><li>powerpc</li><li>sparc</li></ul><p>Possible name attribute values:</p><ul><li>Windows</li><li>Linux</li><li>Mac OS</li><li>Mac OS X</li><li>AIX</li><li>Digital Unix</li><li>FreeBSD</li><li>HP UX</li><li>Irix</li><li>MPE/iX</li><li>Netware 4.11</li><li>OS/2</li><li>Solaris</li><li>Windows 2000</li><li>Windows 95</li><li>Windows 98</li><li>Windows NT</li><li>Windows Vista</li><li>Windows XP</li><li>Windows 7</li><li>Windows 8</li></ul>
Save
Close
Edit
Preview
View changes
Revert to last published version
{"serverDuration": 383, "requestCorrelationId": "b75d3d956466485d8a150a85ab06a740"}