This closes #830

This commit is contained in:
Clebert Suconic 2016-10-10 10:01:01 +02:00
commit 30809c081d
4 changed files with 22 additions and 3 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@ ratReport.txt
.settings .settings
.checkstyle .checkstyle
.factorypath .factorypath
**/.editorconfig
**/derby.log **/derby.log
# for native build # for native build

View File

@ -1,5 +1,7 @@
# Code Formatting # Code Formatting
## Eclipse
Eclipse code formatting and (basic) project configuration files can be found at the `etc/` folder. You should manually Eclipse code formatting and (basic) project configuration files can be found at the `etc/` folder. You should manually
copy them _after importing all your projects_: copy them _after importing all your projects_:
@ -10,6 +12,12 @@ copy them _after importing all your projects_:
Do not use the [maven-eclipse-plugin](https://maven.apache.org/plugins/maven-eclipse-plugin/) to copy the files as it Do not use the [maven-eclipse-plugin](https://maven.apache.org/plugins/maven-eclipse-plugin/) to copy the files as it
conflicts with [m2e](http://eclipse.org/m2e/). conflicts with [m2e](http://eclipse.org/m2e/).
# Idea ## IDEA
If you completed the step described on [idea instructions](ide.md#style-templates-and-inspection-settings-for-idea), and selected the code style accordingly you should be ready to go. If you completed the step described on [idea instructions](ide.md#style-templates-and-inspection-settings-for-idea), and selected the code style accordingly you should be ready to go.
## EditorConfig
For editors supporting [EditorConfig](http://editorconfig.org/), a settings file is provided in
etc/ide-settings/editorconfig.ini. Copy it to your Artemis top level directory and
[name it .editorconfig](http://editorconfig.org/#file-location)

View File

@ -0,0 +1,11 @@
# Copy to your Artemis top level dir and rename to .editorconfig
# http://editorconfig.org/#file-location
[*.{java,xml}]
indent_style = space
indent_size = 3
tab_width = 3
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

View File

@ -1269,9 +1269,9 @@
<exclude>**/.settings/**</exclude> <exclude>**/.settings/**</exclude>
<exclude>**/.project</exclude> <exclude>**/.project</exclude>
<exclude>**/.classpath</exclude> <exclude>**/.classpath</exclude>
<exclude>**/.editorconfig</exclude>
<exclude>**/.checkstyle</exclude> <exclude>**/.checkstyle</exclude>
<exclude>**/.factorypath</exclude> <exclude>**/.factorypath</exclude>
<exclude>ratReport.txt</exclude>
<exclude>**/org.apache.activemq.artemis.cfg</exclude> <exclude>**/org.apache.activemq.artemis.cfg</exclude>
<!-- activemq5 unit tests exclude --> <!-- activemq5 unit tests exclude -->
<exclude>**/*.data</exclude> <exclude>**/*.data</exclude>
@ -1287,7 +1287,6 @@
<exclude>**/npm-shrinkwrap.json</exclude> <exclude>**/npm-shrinkwrap.json</exclude>
<!-- things from cmake on the native build --> <!-- things from cmake on the native build -->
<exclude>**/CMakeCache.txt</exclude>
<exclude>**/CMakeFiles/</exclude> <exclude>**/CMakeFiles/</exclude>
<exclude>**/Makefile</exclude> <exclude>**/Makefile</exclude>
<exclude>**/cmake_install.cmake</exclude> <exclude>**/cmake_install.cmake</exclude>