From ce57a715849a2cfcb5aa4315835be246ca3d0a12 Mon Sep 17 00:00:00 2001 From: Martyn Taylor Date: Wed, 23 Dec 2015 11:22:00 +0000 Subject: [PATCH] ARTEMIS-327 Remove native binaries from src distro --- README.md | 8 ++++++++ .../src/main/assembly/source-assembly.xml | 1 + 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index a1ec823835..782589b258 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,14 @@ This file describes some minimum 'stuff one needs to know' to get started coding For details about the modifying the code, building the project, running tests, IDE integration, etc. see our [Hacking Guide](./docs/hacking-guide/en/SUMMARY.md). +## Building the ASYNC IO library + +ActiveMQ Artemis provides two journal persistence types, NIO (which uses the Java NIO libraries), and ASYNCIO which interacts with the linux kernel libaio library. The ASYNCIO journal type should be used where possible as it is far superior in terms of performance. + +ActiveMQ Artemis does not ship with the Artemis Native ASYNCIO library in the source distribution. These need to be built prior to running "mvn install", to ensure that the ASYNCIO journal type is available in the resulting build. Don't worry if you don't want to use ASYNCIO or your system does not support libaio, ActiveMQ Artemis will check at runtime to see if the required libraries and system dependencies are available, if not it will default to using NIO. + +To build the ActiveMQ Artemis ASYNCIO native libraries, please follow the instructions in the artemis-native/README. + ## Documentation Our documentation is always in sync with our releases at the [Apache ActiveMQ Artemis](http://activemq.apache.org/artemis/docs.html) website. diff --git a/artemis-distribution/src/main/assembly/source-assembly.xml b/artemis-distribution/src/main/assembly/source-assembly.xml index 0eeb9e3d14..acf6b110bb 100644 --- a/artemis-distribution/src/main/assembly/source-assembly.xml +++ b/artemis-distribution/src/main/assembly/source-assembly.xml @@ -54,6 +54,7 @@ ratReport.txt .gitignore artemis_doap.rdf + artemis-native/bin/