Title: [2488] trunk/openejb1/modules/core/src/bin: Added JAVA_OPTS to the scripts to allow for VM args to be passed and changed the *nix file's approach to using the command line arguments.
- Revision
- 2488
- Author
- jcscoobyrs
- Date
- 2006-02-22 18:30:30 -0500 (Wed, 22 Feb 2006)
Log Message
Added JAVA_OPTS to the scripts to allow for VM args to be passed and changed the *nix file's approach to using the command line arguments.
Modified Paths
Diff
Modified: trunk/openejb1/modules/core/src/bin/openejb (2487 => 2488)
--- trunk/openejb1/modules/core/src/bin/openejb 2006-02-22 22:05:03 UTC (rev 2487)
+++ trunk/openejb1/modules/core/src/bin/openejb 2006-02-22 23:30:30 UTC (rev 2488)
@@ -57,4 +57,4 @@
OPENEJB_HOME=`cygpath --path --windows "$OPENEJB_HOME"`
fi
-java -jar $OPENEJB_HOME/lib/[EMAIL PROTECTED]@.jar $*
\ No newline at end of file
+java $JAVA_OPTS -jar $OPENEJB_HOME/lib/[EMAIL PROTECTED]@.jar "$@"
Modified: trunk/openejb1/modules/core/src/bin/openejb.bat (2487 => 2488)
--- trunk/openejb1/modules/core/src/bin/openejb.bat 2006-02-22 22:05:03 UTC (rev 2487)
+++ trunk/openejb1/modules/core/src/bin/openejb.bat 2006-02-22 23:30:30 UTC (rev 2488)
@@ -27,4 +27,4 @@
:openejbHomeSet
-java -jar %OPENEJB_HOME%/lib/[EMAIL PROTECTED]@.jar %*
\ No newline at end of file
+java %JAVA_OPTS% -jar %OPENEJB_HOME%/lib/[EMAIL PROTECTED]@.jar %*