blob: b27b7342760ee21c74021849cf138b8870ac103e [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001#!/bin/bash
2
3CURRENT_DIR=`pwd`
4BASEDIR=$(dirname $0)
5
6if [ ${BASEDIR:0:1} = "/" ]
7then
8 FULL_PATH=$BASEDIR
9else
10 FULL_PATH=$CURRENT_DIR/$BASEDIR
11fi
12
13#echo $FULL_PATH
14
15LIB_DIR=$FULL_PATH/..
16BIN_DIR=$FULL_PATH/../bin
17CONFIG_DIR=$FULL_PATH/../config
18
19JVM_VERBOSE=-Dverbose
20
21JVM_LOG_FILE="-Dlogback.configurationFile=${CONFIG_DIR}/logback.xml"
22
23######################################################
24
25#BINS=`find $BIN_DIR -name "*.jar" | tr "\\n" ":"`
26
27LIBS=`find $LIB_DIR -name "*.jar" | tr "\\n" ":"`
28
29JARS=$JARS:$BINS:$LIBS
30
31
32export JARS
33export JVM_LOG_FILE