hps-java/scripts
diff -N et_evio_file_producer.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ et_evio_file_producer.sh 25 Apr 2012 20:54:36 -0000 1.1
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Script to stream an EVIO file onto an ET ring.
+# You need to setup the path to JNI libraries yourself which are in hps-et-java/lib/[arch] .
+
+# Single argument is name of EVIO file.
+eviofile=$1
+
+# Classpath pointing to the hps-java jar.
+classpath=`pwd`/target/hps-java-1.1-SNAPSHOT-bin.jar
+
+# Run it.
+prod="java -classpath $classpath org.lcsim.hps.evio.EvioFileProducer $@"
+echo $prod
+exec $prod