3 # Script to start up synchronous proxy server (UNIX)
6 # OS should be 'Linux', 'Darwin' (MacOSX), 'Solaris'
10 # Change this path to point to java 1.5 executable for system if 'java' not
13 if [ "$OS" = "Darwin" ]; then
15 # Use hardcoded path to Java 1.5 by default so Mac users don't have to
16 # switch default Java version to 1.5 (which installation of 1.5 does not do
18 JAVA
=/System
/Library
/Frameworks
/JavaVM.framework
/Versions
/1.5/Commands
/java
20 if [ ! -f $JAVA ]; then
21 echo "Java 1.5 does not appear to be installed in the expected location"
23 echo "Using default Java version on system"
31 # Change this to match full path of unzipped build if you want to execute
32 # script from outside this directory
34 echo "INSTALL_DIR = $INSTALL_DIR"
36 LIBDIR
=$INSTALL_DIR/lib
37 export CLASSPATH
=$LIBDIR/cidero-common.jar
:$LIBDIR/xercesImpl.jar
:$LIBDIR/xml-apis.jar
:$INSTALL_DIR
39 $JAVA com.cidero.proxy.SyncProxy