diff -r ac4e617f44e7 -r 23a12c58b57c scripts/alt2xml.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/alt2xml.sh Sat Jun 07 15:42:48 2014 +0200 @@ -0,0 +1,21 @@ +#!/bin/bash + +DIR="`dirname $0`/.."; + +STANDARD_JARS=( + "$DIR/java/alt2xml-cli/dist/alt2xml-cli.jar" + "$DIR/java/alt2xml-lib/dist/alt2xml-lib.jar" +); + +PLUGINS=( + "$DIR/java/alt2xml-in-properties/dist/alt2xml-in-properties.jar" +); + +for e in "${STANDARD_JARS[@]}" "${PLUGINS[@]}"; do + CLASS_PATH="$CLASS_PATH:$e"; +done + +MAIN_CLASS="cz.frantovo.alt2xml.cli.CLI"; + +java -cp "$CLASS_PATH" $MAIN_CLASS "$@" +