1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#!/bin/sh
# Discovers all UDP-based members running on a certain mcast address (use -help for help)
# Probe [-help] [-addr <addr>] [-port <port>] [-ttl <ttl>] [-timeout <timeout>]
BIN=`dirname $0`
LIB=$BIN/../lib
LIBS=$LIB/log4j.jar
#echo $CLASSPATH
CLASSPATH=$BIN/../classes:$CLASSPATH:$LIBS
# OS specific support (must be 'true' or 'false').
cygwin=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
esac
if [ $cygwin = "true" ]; then
CP=`cygpath -wp $CLASSPATH`
else
CP=$CLASSPATH
fi
java -classpath $CP org.jgroups.tests.Probe $*
|