franta-hg@22: #!/bin/bash franta-hg@22: franta-hg@22: DIR="`dirname $0`/.."; franta-hg@22: franta-hg@22: STANDARD_JARS=( franta-hg@22: "$DIR/java/alt2xml-cli/dist/alt2xml-cli.jar" franta-hg@22: "$DIR/java/alt2xml-lib/dist/alt2xml-lib.jar" franta-hg@22: ); franta-hg@22: franta-hg@22: PLUGINS=( franta-hg@22: "$DIR/java/alt2xml-in-properties/dist/alt2xml-in-properties.jar" franta-hg@22: ); franta-hg@22: franta-hg@22: for e in "${STANDARD_JARS[@]}" "${PLUGINS[@]}"; do franta-hg@22: CLASS_PATH="$CLASS_PATH:$e"; franta-hg@22: done franta-hg@22: franta-hg@22: MAIN_CLASS="cz.frantovo.alt2xml.cli.CLI"; franta-hg@22: franta-hg@22: java -cp "$CLASS_PATH" $MAIN_CLASS "$@" franta-hg@22: