random-scenario.sh 377 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

MAP_DIR=$1

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

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

echo "starting randomScenarioGenerator..."

makeClasspath $BASEDIR/jars $BASEDIR/lib
execute random-scenario-editor "java -Xmx512m -cp $CP -Dlog4j.log.dir=$BASEDIR/logs/log gis2.scenario.RandomScenarioGenerator $MAP_DIR $*"