jlaskowski 2004/07/05 11:47:45
Modified: modules/core/src/bin openejb
Log:
Further enhancements to make OpenEJB instances to not interfere with each other when
embedded in separate webapps
Revision Changes Path
1.3 +10 -1 openejb1/modules/core/src/bin/openejb
Index: openejb
===================================================================
RCS file: /home/projects/openejb/scm/openejb1/modules/core/src/bin/openejb,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- openejb 11 May 2004 07:12:14 -0000 1.2
+++ openejb 5 Jul 2004 15:47:45 -0000 1.3
@@ -16,8 +16,17 @@
# $Id$
#============================================================
+cygwin=false
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+esac
+
if [ -z "$OPENEJB_HOME" ]; then
OPENEJB_HOME=$PWD
+fi
+
+if $cygwin; then
+ OPENEJB_HOME=`cygpath --path --windows "$OPENEJB_HOME"`
fi
OPTIONS="-Dopenejb.home=$OPENEJB_HOME"