3 # TODO: systemwide JAR location
4 JAR=~/projekty/SQL-DK/sql-dk/java/sql-dk/dist/sql-dk.jar;
6 MAIN_CLASS="info.globalcode.sql.dk.CLIStarter";
7 CLASSPATH="$JAR:/usr/share/java/postgresql-jdbc4.jar";
9 LOGGER="-Djava.util.logging.config.class=info.globalcode.sql.dk.logging.LoggerInitializer";
10 # LOG_LEVEL="FINE"; # SEVERE, WARNING, INFO, FINE, FINER, FINEST, ALL
11 [ -n "$LOG_LEVEL" ] && LOGGER_LEVEL="-Dinfo.globalcode.sql.dk.logging.LoggerInitializer.level=$LOG_LEVEL";
13 java $LOGGER $LOGGER_LEVEL -cp $CLASSPATH $MAIN_CLASS "$@"