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

Revision 6837, 883 bytes checked in by curtis, 9 years ago (diff)

Update bf-cpp invocation script:

  • Add loci_plugins library to the mix.
  • Point to JARs in local Maven repository.
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`
6REPOSITORY_DIR=~/.m2/repository
7
8java -cp \
9"$JAR2LIB_DIR/target/jar2lib-1.0-SNAPSHOT-deps.jar":\
10"$REPOSITORY_DIR/imagej/ij/1.43/ij-1.43.jar":\
11"$REPOSITORY_DIR/log4j/log4j/1.2.15/log4j-1.2.15.jar" \
12  loci.jar2lib.Jar2Lib \
13  bfcpp "Bio-Formats C++ bindings" \
14  $REPOSITORY_DIR/loci/loci-common/5.0-SNAPSHOT/loci-common-5.0-SNAPSHOT.jar \
15  $REPOSITORY_DIR/loci/loci_plugins/5.0-SNAPSHOT/loci_plugins-5.0-SNAPSHOT.jar \
16  $REPOSITORY_DIR/loci/ome-xml/5.0-SNAPSHOT/ome-xml-5.0-SNAPSHOT.jar \
17  $REPOSITORY_DIR/loci/bio-formats/5.0-SNAPSHOT/bio-formats-5.0-SNAPSHOT.jar \
18  $REPOSITORY_DIR/loci/flow-cytometry/1.0-SNAPSHOT/flow-cytometry-1.0-SNAPSHOT.jar \
19  -conflicts $JAR2LIB_DIR/bf-cpp/conflicts.txt \
20  -header $JAR2LIB_DIR/bf-cpp/header.txt
Note: See TracBrowser for help on using the repository browser.