author | František Kučera <franta-hg@frantovo.cz> |
Sat, 07 Jun 2014 15:42:48 +0200 | |
changeset 22 | 23a12c58b57c |
child 23 | 6ccf0c9b34dc |
permissions | -rwxr-xr-x |
1 #!/bin/bash
3 DIR="`dirname $0`/..";
5 STANDARD_JARS=(
6 "$DIR/java/alt2xml-cli/dist/alt2xml-cli.jar"
7 "$DIR/java/alt2xml-lib/dist/alt2xml-lib.jar"
8 );
10 PLUGINS=(
11 "$DIR/java/alt2xml-in-properties/dist/alt2xml-in-properties.jar"
12 );
14 for e in "${STANDARD_JARS[@]}" "${PLUGINS[@]}"; do
15 CLASS_PATH="$CLASS_PATH:$e";
16 done
18 MAIN_CLASS="cz.frantovo.alt2xml.cli.CLI";
20 java -cp "$CLASS_PATH" $MAIN_CLASS "$@"