Revision: 15295
http://gate.svn.sourceforge.net/gate/?rev=15295&view=rev
Author: ian_roberts
Date: 2012-02-01 14:57:13 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
Extra clarification of <gate:init> attributes, and mention run-in-sandbox.
Modified Paths:
--------------
userguide/trunk/api.tex
Modified: userguide/trunk/api.tex
===================================================================
--- userguide/trunk/api.tex 2012-02-01 13:50:16 UTC (rev 15294)
+++ userguide/trunk/api.tex 2012-02-01 14:57:13 UTC (rev 15295)
@@ -1621,6 +1621,21 @@
resolve this relative to your web application. Instead you must specify it as
a full URL, i.e. \verb|file:/opt/gate|.
+The attributes \verb|gate-home|, \verb|plugins-home|, \verb|site-config-file|,
+\verb|user-config-file| and \verb|builtin-creole-dir| refer directly to the
+similarly-named setter methods on \verb|gate.Gate|. Any of these that are not
+specified will take their usual GATE Embedded default values (i.e.
+\verb|gate-home| will be the parent of the directory containing gate.jar,
+\verb|plugins-home| will be the \verb|plugins| subdirectory of GATE home,
+\verb|user-config-file| will be \verb|.gate.xml| in the current user's home
+directory, etc.). Therefore it is highly recommended to specify at least
+\verb|user-config-file| in order to isolate your application from the
+configuration used by GATE Developer. Alternatively, you can specify
+\verb|run-in-sandbox="true"| (see the
+\htlink{http://jenkins.gate.ac.uk/job/GATE-Nightly/javadoc/gate/Gate.html\#runInSandbox(boolean)}{JavaDocs})
+which will tell GATE not to attempt to read any configuration from files at
+startup.
+
\verb|<gate:preload-plugins>| specifies CREOLE plugins that should be loaded
after GATE has been initialised. An alternative way to specify extra plugins
is to provide separate \verb|<gate:extra-plugin>| elements, for example:
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs