scenario-editor.sh 380 Bytes
Newer Older
Juon Kawakami's avatar
init  
Juon Kawakami committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

. functions.sh

SCENARIO_DIR=$1

if [[ ! -z "$SCENARIO_DIR" ]]; then
  SCENARIO_DIR=$(abspath $SCENARIO_DIR)

  if [[ -z "$SCENARIO_DIR" ]]; then
    exit 1
  fi
fi

echo "starting scenarioEditor...."

makeClasspath $BASEDIR/jars $BASEDIR/lib
execute scenario-editor "java -Xmx512m -cp $CP -Dlog4j.log.dir=$BASEDIR/logs/log gis2.scenario.ScenarioEditor $SCENARIO_DIR"