#!/bin/bash

# Script to generate a single ImageJ JAR including all dependencies.

set -e

ROOT=`cd "$(dirname $0)/.." ; pwd`
cd $ROOT/ui/imagej
mvn package dependency:copy-dependencies
mkdir -p src/main/assembly/all/META-INF/annotations
java -cp 'target/test-classes:target/classes:target/dependency/*' \
  imagej.util.CombineAnnotations
mvn -P deps,swing package

#!/bin/bash

# Script to generate a single ImageJ JAR including all dependencies.

set -e

ROOT=`cd "$(dirname $0)/.." ; pwd`
cd $ROOT/ui/ij-app
mvn package dependency:copy-dependencies
mkdir -p src/main/assembly/all/META-INF/annotations
java -cp 'target/test-classes:target/classes:target/dependency/*' \
  imagej.util.CombineAnnotations
mvn -P deps,swing package

Fix jar with deps script to reflect new dir name.
Fix jar with deps script to reflect new dir name.

This used to be revision r4247.
