Revision: 16501
http://sourceforge.net/p/gate/code/16501
Author: johann_p
Date: 2013-02-03 15:30:27 +0000 (Sun, 03 Feb 2013)
Log Message:
-----------
Add documentation for gate.sh options -dc DIR and -tmp.
Modified Paths:
--------------
userguide/trunk/gettingstarted.tex
Modified: userguide/trunk/gettingstarted.tex
===================================================================
--- userguide/trunk/gettingstarted.tex 2013-02-03 15:29:58 UTC (rev 16500)
+++ userguide/trunk/gettingstarted.tex 2013-02-03 15:30:27 UTC (rev 16501)
@@ -132,15 +132,21 @@
\item[-h] show usage information
\item[-ld] create or use the files \texttt{.gate.session} and
\texttt{.gate.xml} in the current directory as the session and
- configuration files.
- \item[-ln \emph{name}] create or use \emph{name}\texttt{.session} and
- \emph{name}\texttt{.xml} in the current directory as the session and
- configuration files.
+ configuration files. If option \texttt{-dc }\emph{DIR} occurs before this
option,
+ the file \texttt{.gate.session} is created from
\emph{DIR}\texttt{/default.session}
+ if it does not already exist and the file \texttt{.gate.xml} is created
+ from \emph{DIR}\texttt{/default.xml} if it does not already exist.
+ \item[-ln \emph{NAME}] create or use \emph{NAME}\texttt{.session} and
+ \emph{NAME}\texttt{.xml} in the current directory as the session and
+ configuration files. If option \texttt{-dc DIR} occurs before this option,
+ the file \emph{NAME}\texttt{.session} is created from
\emph{DIR}\texttt{/default.session}
+ if it does not already exist and the file \emph{DIR}\texttt{.xml} is
created
+ from \emph{DIR}\texttt{/default.xml} if it does not already exist.
\item[-ll] if the current directory contains a file named
\texttt{log4j.properties}
then use it instead of the default (\verb|GATE_HOME/bin/log4j.properties|)
to
configure logging. Alternately, you can specify any log4j configuration
file
by setting the \texttt{log4j.configuration} property explicitly (see
below).
- \item[-rh \emph{location}] set the resources home directory to the location
provided.
+ \item[-rh \emph{LOCATION}] set the resources home directory to the
\emph{LOCATION} provided.
If a resources home location is provided, the URLs in a saved application
are
saved relative to this location instead of relative to the application
state file
(see section~\ref{sec:developer:savestate}).
@@ -148,7 +154,18 @@
this location.
\item[-d \emph{URL}] loads the CREOLE plugin at the given URL during the
start-up process.
- \item[-i \emph{file}] uses the specified file as the site configuration.
+ \item[-i \emph{FILE}] uses the specified file as the site configuration.
+ \item[-dc \emph{DIR}] copy \texttt{default.xml} and/or
\texttt{default.session}
+ from the directory \emph{DIR} when creating a new config or session file.
This option works
+ only together with either the \texttt{-ln}, \texttt{-ll} or \texttt{-tmp}
option
+ and must occur before \texttt{-ln}, \texttt{-ll} or \texttt{-tmp}.
+ An existing config or session file
+ is used, but if it does not exist, the file from the
+ given directory is copied to create the file instead of using an
empty/default file.
+ \item[-tmp] creates temporary configuration and session files in the current
+ directory, optionally copying \texttt{default.xml} and
\texttt{default.session}
+ from the directory specified with a \texttt{-dc DIR} option that occurs
+ before it. After GATE exits, those session and config files are removed.
\item[\emph{all other parameters}] are passed on to the \texttt{java}
command.
This can be used to e.g. set properties using the \texttt{java} option
\texttt{-D}. For example to set the maximum amount of heap memory to be
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs