added a script to start the UDP mirror from the p2build result

This commit is contained in:
Axel Uhl committed 2012-02-12 00:40:03 +01:00
1 parent 517044f12f
commit d8acca3013
1 file changed
+15
+15
View File
@@ -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 $*