Revision: 5283
http://sourceforge.net/p/jump-pilot/code/5283
Author: edso
Date: 2016-12-27 18:20:50 +0000 (Tue, 27 Dec 2016)
Log Message:
-----------
add default JUMP_OPTS var
Modified Paths:
--------------
core/trunk/scripts/oj_windows.bat
Modified: core/trunk/scripts/oj_windows.bat
===================================================================
--- core/trunk/scripts/oj_windows.bat 2016-12-27 18:14:43 UTC (rev 5282)
+++ core/trunk/scripts/oj_windows.bat 2016-12-27 18:20:50 UTC (rev 5283)
@@ -15,6 +15,9 @@
rem -- uncomment to use 'java' for console output, if unset defaults to
'javaw' for background jre --
rem set JAVA_BIN=java
+rem -- set some default OJ options here (eg. -v debug), initialize empty --
+set JUMP_OPTS=
+
rem -- set some java runtime options here, initialize empty --
set JAVA_OPTS=
@@ -216,9 +219,9 @@
set JAVA_OPTS=%JAVA_OPTS% -Dlog4j.configuration="%LOG4J_CONF%"
-Dlog.dir="%LOG_DIR%" -Djump.home="%JUMP_HOME%" %JAVA_MEM%
rem -- set default app options --
-set JUMP_OPTS=-default-plugins bin\default-plugins.xml -state
"%SETTINGS_HOME%" -plug-in-directory "%LIB%\ext"
+set JUMP_OPTS=-default-plugins bin\default-plugins.xml -state
"%SETTINGS_HOME%" -plug-in-directory "%LIB%\ext" %JUMP_OPTS%
rem --- workbench-properties.xml is used to manually load plugins (ISA uses
this) ---
-if EXIST "bin\workbench-properties.xml" set "JUMP_OPTS=%JUMP_OPTS% -properties
bin\workbench-properties.xml"
+if EXIST "bin\workbench-properties.xml" set "JUMP_OPTS=-properties
bin\workbench-properties.xml %JUMP_OPTS%"
rem -- disconnect javaw from console by using start --
rem -- note: title is needed or start won't accept quoted path to java binary
(protect spaces in javapath) --
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel