profile upload (a first implementation), similar to CgiUpload,

adds a new customprofiledir argument, a new file is created on each upload
This commit is contained in:
Norbert Renner 2014-05-22 11:11:58 +02:00
parent ba867b4779
commit 6f9cef9b3f
5 changed files with 126 additions and 14 deletions

View file

@ -1,9 +1,9 @@
#!/bin/sh
# BRouter standalone server
# java -cp brouter.jar btools.brouter.RouteServer <segmentdir> <profile-map> <port>
# java -cp brouter.jar btools.brouter.RouteServer <segmentdir> <profile-map> <customprofiledir> <port> <maxthreads>
JAVA_OPTS="-Xmx128M -Xms128M -Xmn8M"
CLASSPATH=../brouter.jar
java $JAVA_OPTS -cp $CLASSPATH btools.server.RouteServer ../segments2 ../profiles2 17777 1
java $JAVA_OPTS -cp $CLASSPATH btools.server.RouteServer ../segments2 ../profiles2 ../customprofiles 17777 1