Skip to content
Snippets Groups Projects
Commit a08cdca6 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Use maven to deploy to an ImageJ installation

parent 0c6c55b6
No related branches found
No related tags found
No related merge requests found
......@@ -12,17 +12,6 @@ if [ -n "$1" ] ; then
FIJI_APP="$1"
fi
PLUGINS="$FIJI_APP/plugins/"
if ! [ -d "$PLUGINS" ] ; then
echo "ERROR: can't find Fiji plugins directory: [$PLUGINS]"
echo "Make sure to specify the *ABSOLUTE* path to a Fiji installation!"
exit 1
fi
### build
mvn
### deploy
find "$PLUGINS" -name 'NoiSee-*.jar' | xargs --no-run-if-empty rm -v
cp -v $(find target -iname '*.jar' -and -not -iname '*-sources.jar') "$PLUGINS"
### build and deploy
mvn -Dimagej.app.directory="$FIJI_APP"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment