38 Windows* | CYGWIN* ) 39 PS=";" 40 FS="\\" 41 ;; 42 * ) 43 echo "Unrecognized system!" 44 exit 1; 45 ;; 46 esac 47 48 if [ "${TESTJAVA}" = "" ] ; then 49 echo "TESTJAVA not set. Test cannot execute. Failed." 50 exit 1 51 fi 52 53 JAVA="${TESTJAVA}${FS}bin${FS}java" 54 PORT=1052 55 cp -r ${TESTSRC}${FS}*.java ${TESTSRC}${FS}Hello.idl . 56 echo "Testing...please wait" 57 58 ${TESTJAVA}${FS}bin${FS}idlj -fall Hello.idl 59 ${TESTJAVA}${FS}bin${FS}javac *.java HelloApp/*.java 60 61 echo "starting orbd" 62 ${TESTJAVA}${FS}bin${FS}orbd -ORBInitialPort $PORT -ORBInitialHost localhost & 63 ORB_PROC=$! 64 sleep 2 #give orbd time to start 65 echo "started orb" 66 echo "starting server" 67 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} -cp . HelloServer -ORBInitialPort $PORT -ORBInitialHost localhost & 68 SERVER_PROC=$! 69 sleep 2 #give server time to start 70 echo "started server" 71 echo "starting client (debug mode)" 72 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} -cp . -agentlib:jdwp=transport=dt_socket,server=y,address=8000 HelloClient -ORBInitialPort $PORT -ORBInitialHost localhost > client.$$ 2>&1 & 73 JVM_PROC=$! 74 sleep 2 #give jvm/debugger/client time to start 75 76 echo "started client (debug mode)" 77 echo "starting debugger and issuing commands" 78 (sleep 2; 79 echo "stop in com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.unregisterWaiter"; | 38 Windows* | CYGWIN* ) 39 PS=";" 40 FS="\\" 41 ;; 42 * ) 43 echo "Unrecognized system!" 44 exit 1; 45 ;; 46 esac 47 48 if [ "${TESTJAVA}" = "" ] ; then 49 echo "TESTJAVA not set. Test cannot execute. Failed." 50 exit 1 51 fi 52 53 JAVA="${TESTJAVA}${FS}bin${FS}java" 54 PORT=1052 55 cp -r ${TESTSRC}${FS}*.java ${TESTSRC}${FS}Hello.idl . 56 echo "Testing...please wait" 57 58 ${COMPILEJAVA}${FS}bin${FS}idlj -fall Hello.idl 59 ${COMPILEJAVA}${FS}bin${FS}javac *.java HelloApp/*.java 60 61 echo "starting orbd" 62 ${TESTJAVA}${FS}bin${FS}orbd -ORBInitialPort $PORT -ORBInitialHost localhost & 63 ORB_PROC=$! 64 sleep 2 #give orbd time to start 65 echo "started orb" 66 echo "starting server" 67 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} -cp . HelloServer -ORBInitialPort $PORT -ORBInitialHost localhost & 68 SERVER_PROC=$! 69 sleep 2 #give server time to start 70 echo "started server" 71 echo "starting client (debug mode)" 72 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} -cp . -agentlib:jdwp=transport=dt_socket,server=y,address=8000 HelloClient -ORBInitialPort $PORT -ORBInitialHost localhost > client.$$ 2>&1 & 73 JVM_PROC=$! 74 sleep 2 #give jvm/debugger/client time to start 75 76 echo "started client (debug mode)" 77 echo "starting debugger and issuing commands" 78 (sleep 2; 79 echo "stop in com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.unregisterWaiter"; |