source: branches/maven/projects/jar2lib/bf-cpp/gen.sh @ 6815

Revision 6815, 527 bytes checked in by curtis, 10 years ago (diff)

Add assembly for creating jar2lib JAR with dependencies. Still buggy.

Line 
1#!/bin/bash
2
3# NB: Run "mvn assembly:assembly" first to build the complete Jar2Lib JAR file.
4
5JAR2LIB_DIR=`cd "$(dirname $0)/.." && pwd`
6ARTIFACT_DIR=~/code/LOCI/java/artifacts
7java -cp \
8  "$JAR2LIB_DIR/target/jar2lib-1.0-SNAPSHOT-deps.jar" \
9  loci.jar2lib.Jar2Lib bfcpp "Bio-Formats C++ bindings" \
10  $ARTIFACT_DIR/loci-common.jar \
11  $ARTIFACT_DIR/ome-xml.jar \
12  $ARTIFACT_DIR/bio-formats.jar \
13  $ARTIFACT_DIR/flow-cytometry.jar \
14  -conflicts $JAR2LIB_DIR/bf-cpp/conflicts.txt \
15  -header $JAR2LIB_DIR/bf-cpp/header.txt
Note: See TracBrowser for help on using the repository browser.