Merge pull request #11 from nrenner/bin
add scripts to run standalone server to release zip
This commit is contained in:
commit
0dfb8b1d26
2 changed files with 18 additions and 0 deletions
9
misc/scripts/standalone/server.cmd
Normal file
9
misc/scripts/standalone/server.cmd
Normal file
|
@ -0,0 +1,9 @@
|
|||
@echo off
|
||||
|
||||
REM BRouter standalone server
|
||||
REM java -cp brouter.jar btools.brouter.RouteServer <segmentdir> <profile-map> <port>
|
||||
|
||||
set JAVA_OPTS=-Xmx128M -Xms128M -Xmn8M
|
||||
set CLASSPATH=../brouter.jar
|
||||
|
||||
java %JAVA_OPTS% -cp %CLASSPATH% btools.server.RouteServer ..\segments2 ..\profiles2 17777
|
9
misc/scripts/standalone/server.sh
Executable file
9
misc/scripts/standalone/server.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# BRouter standalone server
|
||||
# java -cp brouter.jar btools.brouter.RouteServer <segmentdir> <profile-map> <port>
|
||||
|
||||
JAVA_OPTS="-Xmx128M -Xms128M -Xmn8M"
|
||||
CLASSPATH=../brouter.jar
|
||||
|
||||
java $JAVA_OPTS -cp $CLASSPATH btools.server.RouteServer ../segments2 ../profiles2 17777
|
Loading…
Reference in a new issue