Revision: 17079
http://sourceforge.net/p/gate/code/17079
Author: markagreenwood
Date: 2013-11-12 19:12:25 +0000 (Tue, 12 Nov 2013)
Log Message:
-----------
merged in the JVM option change from project SAWDUST
Modified Paths:
--------------
gate/trunk/bin/gate.sh
Property Changed:
----------------
gate/trunk/bin/gate.sh
Modified: gate/trunk/bin/gate.sh
===================================================================
--- gate/trunk/bin/gate.sh 2013-11-12 18:06:42 UTC (rev 17078)
+++ gate/trunk/bin/gate.sh 2013-11-12 19:12:25 UTC (rev 17079)
@@ -1,11 +1,5 @@
#!/bin/bash
-# Parameters passed to the Java process
-# You can edit the values below (to e.g. change the maximum amount of memory)
or
-# add new parameters, as needed.
-
-vmparams=( -Xmx1G )
-
# Parameters passed to the GATE process
# This array gets populated from the command line parameters given to the
# script. If required, you can set the initial list of parameters here.
@@ -40,6 +34,13 @@
export ANT_HOME=$GATE_HOME
cd "$CURDIR"
+# pull in JVM settings from the Launch4J ini file so we have a single place
+# where these things can be set across operarting systems which makes things
+# so much easier to document/explain/teach
+IFS=$'\r\n'
+vmparams=($(cat $GATE_HOME/gate.l4j.ini))
+unset IFS
+
vmparams=( "${vmparams[@]}" "-splash:$GATE_HOME/bin/splash.png" )
DEFAULTSDIR=
Property changes on: gate/trunk/bin/gate.sh
___________________________________________________________________
Added: svn:mergeinfo
## -0,0 +1,3 ##
+/gate/branches/new-ontology-api/bin/gate.sh:10584-11598
+/gate/branches/sawdust/bin/gate.sh:17055-17078
+/gate/trunk/bin/gate.sh:3-1426
\ No newline at end of property
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs