Any existing elements in the environment variable
CLASSPATH
are prepended to the value constructed in the script
and passed to the JVM via the -classpath
argument.
If the environment variable OMEGA_DEVELOPER is
not set, and the file Jars/Omegahat/Environment.jar exists, then this is
used as the source of the classes in the omegahat package.
Other Jar files in the Jars/Omegahat/
directory will also be added to the classpath.
-i fully qualified class
omegahat -i org.omegahat.environment.GUI.omega
The argument specifies the Java class to use as the one
providing the entry point \JMethod{main}. This allows a variety of
different applications and interfaces to be instantiated from this
common \OMega{} script. The class must be fully specified as package
and class name and must be resolvable from the classpath supploeed
to the JVM. \\
-ix class name
-i
flag, allowing one to specify an partially qualified class name
within the org.omegahat package.
e.g.
omegahat -ix omega
The -ix flag is the same as -i except it does not require a fully qualified
classname, but instead will locate the class within the org.omegahat tree
in the same way that classes are located within the language.
This flag will only work when we are running from non-Jar files for the
environment. It uses the
expandOmegaClass perl script.
-c file name
-s script name
OmegaInit.
The file is located using the FileLocator class
parameterized by the searchPath property in the configuration file.
-v
OMEGA_HOME, the
classpath, the final command that is executed by the script and
so on. This information is useful for debugging settings
controlling the invocation of the Omegahat session. It should be added to
bug reports
-verbose
-verify
The -verbose and -verify arguments are simple boolean flags and do not take a second argument as a value.
-u
$HOME/.omegahatrc.
This takes no value.
+u filename
-e full class name
omegahat -e org.omegahat.Interfaces.CORBA.Parser.OrbacusEvaluator
(See also -CORBA
-ex
-e as -ix
is to -i.
-help
-CORBA
x.foo(a,b)
to be interpreted as remote method calls on a server x
made available as an Omegahat variable from the naming service.
Appends the CORBA packages to the classpath.
-w
UseGUI in the
System level properties. The initialization scripts
check for the presence of this (currently not the actual value) and
creates a splash screen accordingly.
To run the GUI interface version of Omegahat, use
omegahat -ix GUI.omega
-xp
$OMEGA_HOME/Jars/Omegahat
to be included in the classpath, ahead of the regular system
classpath files. This allows one to put add-on packages
there and have them automatically included. Note that this applies
only to jar files, and not directories.
-Dname=value
-X
-Jarg
-J prefix still present.
These can be used to control
initialization and run-time parameters of the VM such as maximum
memory size, initial heap size, etc. See the documentation for the JVM.
--home
OMEGA_HOME and exit.
This is used in autoconf and other configuration tools for
computing the location of the distribution and hence
where classes, help files, C/C++ libraries, etc. are located.
--
| OmegahatClassLists | logical | controls whether the list of all classes in the CLASSPATH elements are constructed are at initialization of the Omegahat session. If this is false, no classes are available using partially qualified class names. Instead, one must use the import command or Import method |
|---|---|---|
| groupedClassList | logical | indicates whether the collection of classes for each jar file and top-level directory in the CLASSPATH should be divided by directory or grouped in one large list. |
| OmegahatClassLists | A list of directories, jar files and URLs which are to be scanned for files so that their files can be referenced by partially qualified names (i.e. without the complete package name). If this is omitted, every element of the JVM classpath is scanned. This greatly increases startup time. | |
| defaultLexerClass | ||
| defaultDatabaseClass | ||
| errorHandlerClass | ||
| EvaluatorClassName | ||
| FinalScriptProperty | ||
| OmegahatSearchPath | A list of directories, jar files and URLs in which files are searched when not explicitly identified. This is a convenient way to allow the interpreter look for files that may be in different directories without the user having to commit to where they are. | |
| prompt | A string or expression that is used as the primary interactive prompt that indicates the evaluator is ready to process input. | |
| continue | The continuation prompt when there is partially complete user input pending. | |
| OMEGA_CONFIG_FILE | This is the
name of a file that contains a collection of properties
which configure the Omegahat session. This is a more
convenient way of specifying -Dname=value
pairs that are numerous and/or repeated frequently.
By default, the value used for this is
org/omegahat/Environment/Interpreter/OmegaOptions
or specifically the OmegaOptions
resource associated with Options class
used by the EvaluatorManager.
| |
| taskDisplayAbove | ||
| taskDisplayBelow | ||
| debug | ||
| debug<class name> | ||