From 3d7e517b1e6b80af8419d5e1914cebe27f5e8d0d Mon Sep 17 00:00:00 2001 From: Simon Ebner Date: Thu, 6 Mar 2014 13:21:40 +0100 Subject: [PATCH] configured build process to create a all in one zip file containing also the native libraries for hdf5 --- Readme.md | 9 +++++++++ pom.xml | 7 ++++--- src/main/assembly/assembly.xml | 28 ++++++++++++++++++++++++++++ src/main/assembly/assembly_jar.xml | 18 ++++++++++++++++++ 4 files changed, 59 insertions(+), 3 deletions(-) create mode 100644 src/main/assembly/assembly.xml create mode 100644 src/main/assembly/assembly_jar.xml diff --git a/Readme.md b/Readme.md index 6b3aa9a..39824a6 100644 --- a/Readme.md +++ b/Readme.md @@ -18,6 +18,15 @@ Edit the "ImageJ.cfg" of your ImageJ installation Edit the `run` file of your ImageJ installation `java -Djava.library.path=./lib/mac32 -Xmx512m -jar ij.jar` + + # References Inspired by: ImageJ HDF Plugin of Matthias Schlachter Chair of Pattern Recognition and Image Processing, University of Freiburg, Germany. https://code.google.com/p/imagej-hdf/ + + +# Development +To create an all in one zip file for installation in a ImageJ installation use: +`mvn clean compile assembly:assembly` + +The zip file contains an all in one jar as well as the required native libraries for Windows, Linux and Mac OS X. diff --git a/pom.xml b/pom.xml index ac25804..b71937a 100644 --- a/pom.xml +++ b/pom.xml @@ -59,9 +59,10 @@ HDF5_Viewer-${pom.version} false - - jar-with-dependencies - + + src/main/assembly/assembly_jar.xml + src/main/assembly/assembly.xml + diff --git a/src/main/assembly/assembly.xml b/src/main/assembly/assembly.xml new file mode 100644 index 0000000..c2130b6 --- /dev/null +++ b/src/main/assembly/assembly.xml @@ -0,0 +1,28 @@ + + + false + bin + + + zip + + + + + src/main/assembly/lib + lib + + **/* + + + + + target + plugins + + HDF5_Viewer*.jar + + + + \ No newline at end of file diff --git a/src/main/assembly/assembly_jar.xml b/src/main/assembly/assembly_jar.xml new file mode 100644 index 0000000..4cde244 --- /dev/null +++ b/src/main/assembly/assembly_jar.xml @@ -0,0 +1,18 @@ + + + jar-with-dependencies + + jar + + false + + + / + true + true + runtime + + + \ No newline at end of file