├── .github ├── maven-settings.xml └── workflows │ └── build.yml ├── .gitignore ├── CMakeLists.txt ├── LICENSE ├── NOTICE ├── README.md ├── RELEASING.md ├── etc ├── checkstyle-suppressions.xml ├── checkstyle.xml ├── findbugs-exclude.xml ├── ide-settings │ ├── README.md │ ├── eclipse │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.eclipse.jdt.ui.prefs │ ├── editorconfig.ini │ └── idea │ │ ├── IDEA-style.jar │ │ ├── artemis-codestyle.xml │ │ └── artemis-inspections.xml └── license-header.txt ├── pom.xml ├── scripts ├── 32test.sh ├── 64test.sh ├── 64testPodman.sh ├── bash-podman.sh ├── checkout-PR.sh ├── compile-native.sh ├── compile-using-docker.sh ├── compile-using-podman.sh ├── merge-PR.sh └── merge-branch.sh └── src ├── main ├── assembly │ └── source.xml ├── c │ ├── CMakeLists.txt │ ├── exception_helper.h │ └── org_apache_activemq_artemis_nativo_jlibaio_LibaioContext.c ├── docker │ ├── Dockerfile-centos │ ├── Dockerfile-ubuntu │ ├── Dockerfile-ubuntu-32 │ └── README.md └── java │ └── org │ └── apache │ └── activemq │ └── artemis │ └── nativo │ └── jlibaio │ ├── LibaioContext.java │ ├── LibaioFile.java │ ├── NativeLogger.java │ ├── SubmitInfo.java │ ├── package-info.java │ └── util │ └── CallbackCache.java └── test └── java └── org └── apache └── activemq └── artemis └── nativo └── jlibaio └── test ├── CallbackCachelTest.java ├── LibaioStressTest.java ├── LibaioTest.java ├── LoadedTest.java ├── OpenCloseContextTest.java └── ReusableLatch.java /.github/maven-settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | google-mirror 22 | 23 | 24 | google-maven-central 25 | GCS Maven Central mirror 26 | https://maven-central.storage-download.googleapis.com/maven2/ 27 | 28 | true 29 | 30 | 31 | false 32 | 33 | 34 | 35 | 36 | 37 | google-maven-central 38 | GCS Maven Central mirror 39 | https://maven-central.storage-download.googleapis.com/maven2/ 40 | 41 | true 42 | 43 | 44 | false 45 | 46 | 47 | 48 | 49 | 50 | 51 | google-mirror 52 | 53 | 54 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: "Build" 2 | 3 | on: [push, pull_request, workflow_dispatch] 4 | 5 | jobs: 6 | test: 7 | name: Test (${{ matrix.java }}) 8 | runs-on: ubuntu-20.04 9 | strategy: 10 | fail-fast: false 11 | matrix: 12 | java: [ 11, 17 ] 13 | 14 | steps: 15 | - uses: actions/checkout@v3 16 | 17 | - name: Cache Maven Local Repo 18 | if: ${{ !startsWith(github.ref, 'refs/tags/') }} 19 | uses: actions/cache@v3 20 | with: 21 | path: | 22 | ~/.m2/repository/ 23 | key: ${{ runner.os }}-mvn-${{ hashFiles('**/pom.xml') }} 24 | restore-keys: | 25 | ${{ runner.os }}-mvn- 26 | 27 | - name: Install JDK ${{ matrix.java }} 28 | uses: actions/setup-java@v3 29 | with: 30 | java-version: ${{ matrix.java }} 31 | distribution: 'temurin' 32 | 33 | - name: Pull Base Image 34 | run: | 35 | docker pull centos:7 36 | 37 | - name: RAT Check 38 | run: | 39 | mvn -s .github/maven-settings.xml apache-rat:check 40 | 41 | - name: Javadoc Check 42 | run: | 43 | mvn -s .github/maven-settings.xml javadoc:javadoc 44 | 45 | - name: Build and Test (-Pdocker) 46 | run: | 47 | mvn -s .github/maven-settings.xml verify -Pdocker 48 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/*.iml 2 | **/nb-configuration.xml 3 | **/target 4 | **/lib/linux-* 5 | **/obj 6 | .idea/ 7 | ratReport.txt 8 | **/server.lock 9 | **/data 10 | .classpath 11 | .project 12 | .settings 13 | .checkstyle 14 | .factorypath 15 | **/.editorconfig 16 | **/derby.log 17 | examples/**/readme.html 18 | 19 | # for native build 20 | CMakeCache.txt 21 | CMakeFiles/ 22 | Makefile 23 | cmake_install.cmake 24 | 25 | # this file is generated 26 | artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.h 27 | 28 | # generated by shade 29 | **/dependency-reduced-pom.xml 30 | 31 | # gitbook output 32 | docs/user-manual/en/_book 33 | docs/hacking-guide/en/_book 34 | 35 | # overlay outpit 36 | **/overlays/**/* 37 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | CMAKE_MINIMUM_REQUIRED(VERSION 2.6) 17 | 18 | SUBDIRS(src/main/c) 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | http://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | APPENDIX: How to apply the Apache License to your work. 180 | 181 | To apply the Apache License to your work, attach the following 182 | boilerplate notice, with the fields enclosed by brackets "[]" 183 | replaced with your own identifying information. (Don't include 184 | the brackets!) The text should be enclosed in the appropriate 185 | comment syntax for the file format. We also recommend that a 186 | file or class name and description of purpose be included on the 187 | same "printed page" as the copyright notice for easier 188 | identification within third-party archives. 189 | 190 | Copyright [yyyy] [name of copyright owner] 191 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); 193 | you may not use this file except in compliance with the License. 194 | You may obtain a copy of the License at 195 | 196 | http://www.apache.org/licenses/LICENSE-2.0 197 | 198 | Unless required by applicable law or agreed to in writing, software 199 | distributed under the License is distributed on an "AS IS" BASIS, 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201 | See the License for the specific language governing permissions and 202 | limitations under the License. 203 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Apache ActiveMQ Artemis Native 2 | Copyright [2014-2022] The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | 3 | 4 | This is a simple tutorial about building and packaging the libartemis-native library. The libartemis-native is a thin 5 | layer library that interface with Linux' lib AIO library as part of the journaling feature of the broker when operating 6 | with AIO journal. 7 | 8 | The lib AIO is a Linux-specific dependency, therefore having a relatively modern Linux operating system is assumed for 9 | the purpose of this documentation. 10 | 11 | There are two ways to build the native libraries: 12 | 13 | - Using a container image created during the build phase 14 | - Bare Metal 15 | 16 | ## Docker and Podman 17 | 18 | You can use either Docker or Podman to compile the native bits in a container created during the build phase before running the tests. 19 | 20 | You can do this using the -Pdocker profile with maven: 21 | 22 | ```bash 23 | $ mvn install -Pdocker 24 | ``` 25 | 26 | Or you can use the -Ppodman profile with maven: 27 | 28 | ```bash 29 | $ mvn install -Ppodman 30 | ``` 31 | 32 | Alternatively, you can run the related scripts directly to execute the container native compilation only: 33 | 34 | ```bash 35 | $ ./scripts/compile-using-docker.sh 36 | ``` 37 | 38 | or 39 | 40 | ```bash 41 | $ ./scripts/compile-using-podman.sh 42 | ``` 43 | 44 | 45 | ## Bare Metal Dependencies 46 | 47 | In order to build the package, make sure you install these packages: 48 | 49 | - The GNU compiler library container both the C and C++ compiler 50 | - The GNU C library 51 | - The respective libaio package for your Linux distribution 52 | - JDK (full JDK) 53 | 54 | 55 | For example, on Fedora Linux, compilation of the library requires the following specific packages: 56 | 57 | - glibc-devel 58 | - libaio-devel 59 | - gcc 60 | - gcc-g++ 61 | - java-1.8.0-openjdk-devel 62 | 63 | ### Cross compilation 64 | 65 | Using a 64-bit Linux OS, it is possible to cross-compile the 32-bit version of the library. For this, the 32-bits 66 | version of the GNU C Library and lib AIO should be installed. 67 | 68 | Once again using Fedora Linux as an example, it would mean that the following packages need to be installed: 69 | 70 | - glibc-devel.i686 71 | - libaio-devel.i686 72 | 73 | 74 | ### Scripts on Bare Metal 75 | 76 | You can use the ./scripts/compile-native.sh script. This script is using cross compilation towards 64 bits and 32 bits from a Linux environment. 77 | 78 | Note you must first have the java compiler generate the .h header manually by running: 79 | 80 | ```bash 81 | $ mvn generate-sources 82 | ``` 83 | 84 | Then call the script to compile the native libs: 85 | 86 | ```bash 87 | $ ./scripts/compile-native.sh 88 | ``` 89 | 90 | Alternatively you can just use the bare-metal profile for maven which combines both of those steps in one operation before running the tests: 91 | 92 | ```bash 93 | $ mvn install -Pbare-metal 94 | ``` 95 | 96 | ## Lib AIO Information 97 | 98 | The Lib AIO is the Linux' Kernel Asynchronous I/O Support Library. It is part of the kernel project. The library makes 99 | system calls on the kernel layer. 100 | 101 | This is the project information: 102 | 103 | Git Repository: git://git.kernel.org/pub/scm/libs/libaio/libaio.git 104 | Mailing List: linux-aio@kvack.org 105 | 106 | ## Manual steps to build (via Docker) 107 | 108 | From the project base directory, run: 109 | 110 | ```docker build -f src/main/docker/Dockerfile-centos -t artemis-native-builder . && docker run -v $PWD/target/lib:/work/target/lib artemis-native-builder && sudo chown -Rv $USER:$GID target/lib``` 111 | 112 | 113 | ## Steps to build it manually 114 | 115 | 1. Make sure you have JAVA_HOME defined, and pointing to the root of your JDK: 116 | 117 | Example: 118 | 119 | ```export JAVA_HOME=/usr/share/jdk11``` 120 | 121 | 2. Run mvn generate-sources to genrate the .h header file needed: 122 | $> mvn generate-sources 123 | 124 | 3. Call compile-native.sh. Bootstrap will call all the initial scripts you need 125 | $> ./compile-native.sh 126 | 127 | if you are missing any dependencies, autoconf would tell you what you're missing. 128 | 129 | 130 | ### Compiled File 131 | 132 | The generated jar will include the ./lib/ 133 | 134 | ### Advanced Compilation Methods and Developer-specific Documentation 135 | 136 | Passing additional options to the compiler: 137 | ```cmake -DCMAKE_USER_C_FLAGS="-fomit-frame-pointer" -DCMAKE_VERBOSE_MAKEFILE=On .``` 138 | 139 | Compiling with debug options: 140 | ```cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=On .``` 141 | 142 | Cross-compilation: 143 | ```cmake -DCMAKE_VERBOSE_MAKEFILE=On -DCMAKE_USER_C_FLAGS="-m32" -DARTEMIS_CROSS_COMPILE=On -DARTEMIS_CROSS_COMPILE_ROOT_PATH=/usr/lib .``` 144 | 145 | Cross-compilation with debugging symbols: 146 | ```cmake -DCMAKE_VERBOSE_MAKEFILE=On -DCMAKE_USER_C_FLAGS="-m32" -DARTEMIS_CROSS_COMPILE=On -DARTEMIS_CROSS_COMPILE_ROOT_PATH=/usr/lib .``` 147 | 148 | 149 | ## Lib AIO Documentation 150 | 151 | The User Manual, chapter 38 (Libaio Native Libraries) will provide more details about our native libraries on libaio. 152 | -------------------------------------------------------------------------------- /RELEASING.md: -------------------------------------------------------------------------------- 1 | # A check list of things to be done before a release. 2 | 3 | * Ensure you have an empty just checked out folder out of git. Optionally you could apply git clean: 4 | ```bash 5 | git clean -xdf 6 | ``` 7 | * Compile the native binaries by using the docker image. 8 | 9 | You will of course need docker installed and running for this: 10 | ```bash 11 | MyComputer activemq-artemis-native myuser$ ./scripts/compile-using-docker.sh 12 | ``` 13 | 14 | * Build the release locally: mvn clean install -Prelease 15 | 16 | ## Key to Sign the Release 17 | 18 | If you don't have a key to sign the release artifacts you can generate one using this command: 19 | 20 | ``` 21 | gpg --gen-key 22 | ``` 23 | 24 | Ensure that your key is listed at https://dist.apache.org/repos/dist/release/activemq/KEYS. 25 | If not, generate the key information, e.g.: 26 | 27 | ``` 28 | gpg --list-sigs username@apache.org > /tmp/key; gpg --armor --export username@apache.org >> /tmp/key 29 | ``` 30 | 31 | Then send the key information in `/tmp/key` to `private@activemq.apache.org` so it can be added. 32 | 33 | Add your key id (available via `gpg --fingerprint `) to the `OpenPGP Public Key Primary Fingerprint` field at 34 | https://id.apache.org/. Note: this is just the key id, not the whole fingerprint. 35 | 36 | ## Checking out a new empty git repository 37 | 38 | Before starting make sure you clone a brand new git as follows as the release plugin will use the upstream for pushing the tags: 39 | 40 | ```sh 41 | git clone git://github.com/apache/activemq-artemis-native.git 42 | cd activemq-artemis-native 43 | git remote add upstream https://gitbox.apache.org/repos/asf/activemq-artemis-native.git 44 | ``` 45 | 46 | If your git `user.email` and/or `user.name` are not set globally then you'll need to set these on the newly clone 47 | repository as they will be used during the release process to make commits to the upstream repository, e.g.: 48 | 49 | ``` 50 | git config user.email "username@apache.org" 51 | git config user.name "FirstName LastName" 52 | ``` 53 | 54 | This should be the same `user.email` and `user.name` you use on your main repository. 55 | 56 | ## Running the release 57 | 58 | You will have to use this following maven command to perform the release: 59 | 60 | ```sh 61 | mvn clean release:prepare -DautoVersionSubmodules=true -Prelease -Pdocker 62 | ``` 63 | 64 | You could optionally set `pushChanges=false` so the version commit and tag won't be pushed upstream (you would have to do it yourself): 65 | 66 | ```sh 67 | mvn clean release:prepare -DautoVersionSubmodules=true -DpushChanges=false -Prelease -Pdocker 68 | ``` 69 | 70 | When prompted make sure the next is a major release. Example: 71 | 72 | ``` 73 | [INFO] Checking dependencies and plugins for snapshots ... 74 | What is the release version for "ActiveMQ Artemis Parent"? (org.apache.activemq:artemis-pom) 1.4.0: : 75 | What is SCM release tag or label for "ActiveMQ Artemis Parent"? (org.apache.activemq:artemis-pom) artemis-pom-1.4.0: : 1.4.0 76 | What is the new development version for "ActiveMQ Artemis Parent"? (org.apache.activemq:artemis-pom) 1.4.1-SNAPSHOT: : 1.5.0-SNAPSHOT 77 | ``` 78 | 79 | Otherwise snapshots will be created at 1.4.1 and forgotten. (Unless we ever release 1.4.1 on that example). 80 | 81 | For more information look at the prepare plugin: 82 | 83 | - https://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#pushChanges 84 | 85 | If you set `pushChanges=false` then you will have to push the changes manually. The first command is to push the commits 86 | which are for changing the `<version>` in the pom.xml files, and the second push is for the tag, e.g.: 87 | 88 | ```sh 89 | git push upstream 90 | git push upstream 91 | ``` 92 | 93 | ## Uploading to nexus 94 | 95 | To upload it to nexus, perform this command: 96 | 97 | ```sh 98 | mvn release:perform -Prelease -Pdocker 99 | ``` 100 | 101 | Note: this can take quite awhile depending on the speed for your Internet connection. 102 | 103 | 104 | ### Resuming release upload 105 | 106 | If something happened during the release upload to nexus, you may need to eventually redo the upload. 107 | 108 | There is a release.properties file that is generated at the root of the project during the release. In case you want to upload a previously tagged release, add this file as follows: 109 | 110 | - release.properties 111 | ``` 112 | scm.url=scm:git:https://github.com/apache/activemq-artemis.git 113 | scm.tag=1.4.0 114 | ``` 115 | 116 | ## Stage the release to the dist dev area 117 | 118 | Use the closed staging repo contents to populate the the dist dev svn area 119 | with the official release artifacts for voting. Use the script already present 120 | in the repo to download the files and populate a new ${CURRENT-RELEASE} dir: 121 | 122 | ```sh 123 | svn co https://dist.apache.org/repos/dist/dev/activemq/activemq-artemis-native/ 124 | cd activemq-artemis 125 | ./prepare-release.sh https://repository.apache.org/content/repositories/orgapacheactivemq-${NEXUS-REPO-ID} ${CURRENT-RELEASE} 126 | ``` 127 | Give the files a check over and commit the new dir and start a vote if all looks well. 128 | 129 | ```bash 130 | svn add 131 | svn commit 132 | 133 | 134 | ## Commit the download source 135 | 136 | After the release is VOTED and aproved, you can release the maven repo on nexus, 137 | and you can use this script to move the prepared release into the official place: 138 | 139 | ```sh 140 | svn cp -m "add files for activemq-artemis-native-${CURRENT-RELEASE}" https://dist.apache.org/repos/dist/dev/activemq/activemq-artemis-native/${CURRENT-RELEASE} https://dist.apache.org/repos/dist/release/activemq/activemq-artemis-native/${CURRENT-RELEASE} 141 | ``` 142 | 143 | ## Apache Guide 144 | 145 | For more information consult the apache guide at this address: 146 | 147 | * http://www.apache.org/dev/publishing-maven-artifacts.html 148 | -------------------------------------------------------------------------------- /etc/checkstyle-suppressions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /etc/checkstyle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | -------------------------------------------------------------------------------- /etc/findbugs-exclude.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | -------------------------------------------------------------------------------- /etc/ide-settings/README.md: -------------------------------------------------------------------------------- 1 | ## IDE Files 2 | 3 | 4 | Include any files that are specific to IDE such as settings, etc. 5 | 6 | These directories are ignored from the source release, so they will only be available through the source repository checkout or clone. 7 | -------------------------------------------------------------------------------- /etc/ide-settings/eclipse/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.codeComplete.argumentPrefixes= 3 | org.eclipse.jdt.core.codeComplete.argumentSuffixes= 4 | org.eclipse.jdt.core.codeComplete.fieldPrefixes= 5 | org.eclipse.jdt.core.codeComplete.fieldSuffixes= 6 | org.eclipse.jdt.core.codeComplete.localPrefixes= 7 | org.eclipse.jdt.core.codeComplete.localSuffixes= 8 | org.eclipse.jdt.core.codeComplete.staticFieldPrefixes= 9 | org.eclipse.jdt.core.codeComplete.staticFieldSuffixes= 10 | org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes= 11 | org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes= 12 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 13 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 14 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=optimize out 15 | org.eclipse.jdt.core.compiler.compliance=1.7 16 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 17 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 18 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 19 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 20 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 21 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 22 | org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=error 23 | org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 24 | org.eclipse.jdt.core.compiler.processAnnotations=enabled 25 | org.eclipse.jdt.core.compiler.source=1.7 26 | org.eclipse.jdt.core.formatter.align_type_members_on_columns=false 27 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=18 28 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=16 29 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=82 30 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=18 31 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=18 32 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 33 | org.eclipse.jdt.core.formatter.alignment_for_assignment=16 34 | org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 35 | org.eclipse.jdt.core.formatter.alignment_for_compact_if=82 36 | org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=18 37 | org.eclipse.jdt.core.formatter.alignment_for_enum_constants=82 38 | org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=82 39 | org.eclipse.jdt.core.formatter.alignment_for_method_declaration=16 40 | org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 41 | org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=18 42 | org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=18 43 | org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 44 | org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=82 45 | org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 46 | org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=82 47 | org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 48 | org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=82 49 | org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=18 50 | org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 51 | org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 52 | org.eclipse.jdt.core.formatter.blank_lines_after_package=1 53 | org.eclipse.jdt.core.formatter.blank_lines_before_field=0 54 | org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 55 | org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 56 | org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 57 | org.eclipse.jdt.core.formatter.blank_lines_before_method=1 58 | org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=0 59 | org.eclipse.jdt.core.formatter.blank_lines_before_package=0 60 | org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 61 | org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 62 | org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=same_line 63 | org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=same_line 64 | org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line 65 | org.eclipse.jdt.core.formatter.brace_position_for_block=same_line 66 | org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=same_line 67 | org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=same_line 68 | org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=same_line 69 | org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=same_line 70 | org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=same_line 71 | org.eclipse.jdt.core.formatter.brace_position_for_switch=same_line 72 | org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=same_line 73 | org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true 74 | org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true 75 | org.eclipse.jdt.core.formatter.comment.format_block_comments=true 76 | org.eclipse.jdt.core.formatter.comment.format_header=false 77 | org.eclipse.jdt.core.formatter.comment.format_html=true 78 | org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true 79 | org.eclipse.jdt.core.formatter.comment.format_line_comments=true 80 | org.eclipse.jdt.core.formatter.comment.format_source_code=true 81 | org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true 82 | org.eclipse.jdt.core.formatter.comment.indent_root_tags=true 83 | org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=do not insert 84 | org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert 85 | org.eclipse.jdt.core.formatter.comment.line_length=100 86 | org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true 87 | org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true 88 | org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false 89 | org.eclipse.jdt.core.formatter.compact_else_if=true 90 | org.eclipse.jdt.core.formatter.continuation_indentation=3 91 | org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=3 92 | org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off 93 | org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on 94 | org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false 95 | org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=false 96 | org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true 97 | org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true 98 | org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true 99 | org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true 100 | org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true 101 | org.eclipse.jdt.core.formatter.indent_empty_lines=false 102 | org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true 103 | org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true 104 | org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true 105 | org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true 106 | org.eclipse.jdt.core.formatter.indentation.size=3 107 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert 108 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert 109 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert 110 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert 111 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert 112 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert 113 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=insert 114 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert 115 | org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert 116 | org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert 117 | org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert 118 | org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert 119 | org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert 120 | org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert 121 | org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert 122 | org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert 123 | org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert 124 | org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert 125 | org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert 126 | org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert 127 | org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert 128 | org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert 129 | org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert 130 | org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert 131 | org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert 132 | org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert 133 | org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert 134 | org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert 135 | org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert 136 | org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert 137 | org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert 138 | org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert 139 | org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert 140 | org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert 141 | org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert 142 | org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert 143 | org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert 144 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert 145 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert 146 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert 147 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert 148 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert 149 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert 150 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert 151 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert 152 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert 153 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert 154 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert 155 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert 156 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert 157 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert 158 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert 159 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert 160 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert 161 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert 162 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert 163 | org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert 164 | org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert 165 | org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert 166 | org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert 167 | org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert 168 | org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert 169 | org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert 170 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert 171 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert 172 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert 173 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert 174 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert 175 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert 176 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert 177 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert 178 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert 179 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert 180 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert 181 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert 182 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert 183 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert 184 | org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert 185 | org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert 186 | org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert 187 | org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert 188 | org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert 189 | org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert 190 | org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert 191 | org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert 192 | org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert 193 | org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert 194 | org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert 195 | org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert 196 | org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert 197 | org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert 198 | org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert 199 | org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert 200 | org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert 201 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert 202 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert 203 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert 204 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert 205 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert 206 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert 207 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert 208 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert 209 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert 210 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert 211 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert 212 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert 213 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert 214 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert 215 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert 216 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert 217 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert 218 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert 219 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert 220 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert 221 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert 222 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert 223 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert 224 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert 225 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert 226 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert 227 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert 228 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert 229 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert 230 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert 231 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert 232 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert 233 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert 234 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert 235 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert 236 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert 237 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert 238 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert 239 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert 240 | org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert 241 | org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert 242 | org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert 243 | org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert 244 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert 245 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert 246 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert 247 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert 248 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert 249 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert 250 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert 251 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert 252 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert 253 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert 254 | org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert 255 | org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert 256 | org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert 257 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert 258 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert 259 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert 260 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert 261 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert 262 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert 263 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert 264 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert 265 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert 266 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert 267 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert 268 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert 269 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert 270 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert 271 | org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert 272 | org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert 273 | org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert 274 | org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert 275 | org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert 276 | org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert 277 | org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert 278 | org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert 279 | org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert 280 | org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert 281 | org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert 282 | org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert 283 | org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert 284 | org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert 285 | org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert 286 | org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert 287 | org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert 288 | org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert 289 | org.eclipse.jdt.core.formatter.join_lines_in_comments=true 290 | org.eclipse.jdt.core.formatter.join_wrapped_lines=true 291 | org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false 292 | org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=true 293 | org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false 294 | org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false 295 | org.eclipse.jdt.core.formatter.lineSplit=120 296 | org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false 297 | org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false 298 | org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 299 | org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 300 | org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=false 301 | org.eclipse.jdt.core.formatter.tabulation.char=space 302 | org.eclipse.jdt.core.formatter.tabulation.size=3 303 | org.eclipse.jdt.core.formatter.use_on_off_tags=true 304 | org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false 305 | org.eclipse.jdt.core.formatter.wrap_before_binary_operator=false 306 | org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true 307 | org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true 308 | -------------------------------------------------------------------------------- /etc/ide-settings/eclipse/org.eclipse.jdt.ui.prefs: -------------------------------------------------------------------------------- 1 | #Thu Nov 10 13:53:54 CET 2011 2 | cleanup.add_default_serial_version_id=false 3 | cleanup.add_generated_serial_version_id=true 4 | cleanup.add_missing_annotations=true 5 | cleanup.add_missing_deprecated_annotations=true 6 | cleanup.add_missing_methods=false 7 | cleanup.add_missing_nls_tags=false 8 | cleanup.add_missing_override_annotations=true 9 | cleanup.add_serial_version_id=true 10 | cleanup.always_use_blocks=true 11 | cleanup.always_use_parentheses_in_expressions=false 12 | cleanup.always_use_this_for_non_static_field_access=false 13 | cleanup.always_use_this_for_non_static_method_access=false 14 | cleanup.convert_to_enhanced_for_loop=true 15 | cleanup.correct_indentation=true 16 | cleanup.format_source_code=true 17 | cleanup.format_source_code_changes_only=false 18 | cleanup.make_local_variable_final=false 19 | cleanup.make_parameters_final=true 20 | cleanup.make_private_fields_final=true 21 | cleanup.make_type_abstract_if_missing_method=false 22 | cleanup.make_variable_declarations_final=true 23 | cleanup.never_use_blocks=false 24 | cleanup.never_use_parentheses_in_expressions=true 25 | cleanup.organize_imports=true 26 | cleanup.qualify_static_field_accesses_with_declaring_class=true 27 | cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true 28 | cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true 29 | cleanup.qualify_static_member_accesses_with_declaring_class=true 30 | cleanup.qualify_static_method_accesses_with_declaring_class=true 31 | cleanup.remove_private_constructors=true 32 | cleanup.remove_trailing_whitespaces=true 33 | cleanup.remove_trailing_whitespaces_all=true 34 | cleanup.remove_trailing_whitespaces_ignore_empty=false 35 | cleanup.remove_unnecessary_casts=true 36 | cleanup.remove_unnecessary_nls_tags=true 37 | cleanup.remove_unused_imports=true 38 | cleanup.remove_unused_local_variables=false 39 | cleanup.remove_unused_private_fields=true 40 | cleanup.remove_unused_private_members=true 41 | cleanup.remove_unused_private_methods=true 42 | cleanup.remove_unused_private_types=true 43 | cleanup.sort_members=false 44 | cleanup.sort_members_all=false 45 | cleanup.use_blocks=true 46 | cleanup.use_blocks_only_for_return_and_throw=false 47 | cleanup.use_parentheses_in_expressions=true 48 | cleanup.use_this_for_non_static_field_access=true 49 | cleanup.use_this_for_non_static_field_access_only_if_necessary=true 50 | cleanup.use_this_for_non_static_method_access=true 51 | cleanup.use_this_for_non_static_method_access_only_if_necessary=true 52 | cleanup_profile=_ActiveMQ profile 53 | cleanup_settings_version=2 54 | eclipse.preferences.version=1 55 | editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true 56 | formatter_profile=_'ActiveMQ' 57 | formatter_settings_version=12 58 | org.eclipse.jdt.ui.exception.name=e 59 | org.eclipse.jdt.ui.gettersetter.use.is=true 60 | org.eclipse.jdt.ui.ignorelowercasenames=true 61 | org.eclipse.jdt.ui.importorder=java;javax;com;org; 62 | org.eclipse.jdt.ui.javadoc=true 63 | org.eclipse.jdt.ui.keywordthis=false 64 | org.eclipse.jdt.ui.ondemandthreshold=9999 65 | org.eclipse.jdt.ui.overrideannotation=true 66 | org.eclipse.jdt.ui.staticondemandthreshold=9999 67 | org.eclipse.jdt.ui.text.custom_code_templates=