run_with_zookeeper.sh 480 Bytes
Newer Older
1
#!/usr/bin/env bash
Jean Meurice's avatar
Jean Meurice committed
2
3
4
5
6
7
#
# (c) https://github.com/MontiCore/monticore
#
# The license generally applicable for this project
# can be found under https://github.com/MontiCore/monticore.
#
8
9
10
11
12
13
14
15
16
17
18
19

if [ -z "$1" ]; then
    PORT=10101
else
    PORT="$1"
fi

AUTOPILOT_FOLDER=autopilots

java -cp rmi-model-server.jar\
    -Djava.rmi.server.codebase=file:rmi-model-server.jar\
    -Djava.rmi.server.useLocalHostname rwth.rmi.model.server.RMIServer\
hengwen's avatar
Typo    
hengwen committed
20
     $PORT $AUTOPILOT_FOLDER os=linux no_time