mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-03 10:53:49 +00:00
added a script to start the UDP mirror from the p2build result
This commit is contained in:
1 parent
517044f12f
commit
d8acca3013
1 file changed
+15
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
target="`dirname \"$0\"`"
|
||||
pwd=`pwd`
|
||||
echo "$target" | grep "^/"
|
||||
if [ "$0" != "0" ]; then
|
||||
# no leading slash, therefore no absolute path; prepend pwd
|
||||
target="$pwd/$target"
|
||||
fi
|
||||
target=c:/cygwin/home/User/git/java/target
|
||||
echo target is $target
|
||||
cd "$target/../com.sap.sailing.feature.p2build/bin/products/raceanalysis.product.id/win32/win32/x86_64"
|
||||
echo pwd is now `pwd`
|
||||
jar=`find plugins -name 'com.sap.sailing.expeditionconnector_*.jar' | sort | tail -1`
|
||||
echo Using JAR file $jar
|
||||
"$JAVA_HOME/bin/java" -cp "$jar" -Djava.util.logging.config.file=udpmirrorLog.properties com.sap.sailing.expeditionconnector.UDPMirror $*
|
||||
Reference in new issue
Block a user