public class Infocenter extends Object
Constructor and Description |
---|
Infocenter(String[] options)
Constructs Infocenter
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Controls start up and shut down of infocenter from command line.
|
void |
shutdown()
Shuts-down the stand alone infocenter.
|
void |
start()
Starts the stand alone infocenter.
|
public Infocenter(String[] options)
options
- array of String options and their values
Option -eclipseHome dir
specifies Eclipse
installation directory. This directory is a parent to
"plugins" directory and eclipse executable. The option must be
provided, when current directory from which infocenter is
launched, is not the same as Eclipse installation directory.
Option -host helpServerHost
specifies host name
of the interface that help server will use. It overrides host
name specified in the application server plugin preferences.
Option -port helpServerPort
specifies port
number that help server will use. It overrides port number
specified in the application server plugin preferences.
Option -dir rtl
sets right-to-left rendering
direction of help UI in the browser.
Option -noexec
indicates that Eclipse
executable should not be used.
Additionally, most options accepted by Eclipse execuable are supported.
public void shutdown() throws Exception
Exception
public static void main(String[] args)
args
- array of String containing options Options are:
-command start | shutdown [-eclipsehome eclipseInstallPath] [-host helpServerHost] [-port helpServerPort] [-dir rtl] [-noexec] [platform options] [-vmargs JavaVMarguments]
where
eclipseInstallPath
specifies Eclipse
installation directory; it must be provided, when current
directory is not the same as Eclipse installation directory,
helpServerHost
specifies host name of the
interface that help server will use, it overrides host name
specified the application server plugin preferenceshelpServerPort
specifies port number that
help server will use, it overrides port number specified the
application server plugin preferences.-dir rtl
sets right-to-left rendering
direction of help UI in the browser.
-noexec
option indicates that Eclipse
executable should not be used.platform options
are other options that
are supported by Eclipse Executable.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.