1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<!-- lifted from troff+man by doclifter -->
<refentry id='eclipse1'>
<refmeta>
<refentrytitle>eclipse</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv id='name'>
<refname>eclipse</refname>
<refpurpose>extensible tool platform and Java IDE</refpurpose>
</refnamediv>
<!-- body begins here -->
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
<command>eclipse</command>
<arg choice='opt'><arg choice='plain'><replaceable>platform</replaceable></arg><arg choice='plain'><replaceable>options</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'><option>-vmargs </option></arg><arg choice='opt'><arg choice='plain'><replaceable>Java</replaceable></arg><arg choice='plain'><replaceable>VM</replaceable></arg><arg choice='plain'><replaceable>arguments</replaceable></arg></arg></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 id='description'><title>DESCRIPTION</title>
<para>
The <command>Eclipse</command> Platform is an open and
extensible platform for anything and yet nothing in particular. It provides a
foundation for constructing and running integrated software-development tools.
The <command>Eclipse</command> Platform allows tool builders
to independently develop tools that integrate with other people's tools so
seamlessly you can't tell where one tool ends and another starts.</para>
<para>When invoked without selecting any particular application, the <command>eclipse</command>
command will start the <command>Eclipse</command> Platform with the Java Development
Tools (JDT) functionality enabled and ready to use.</para>
<para>This manual page documents the command-line arguments for the
<command>Eclipse</command> Platform and it is based on the
Runtime Options help item in the <command>Eclipse</command>
<ulink url="#authors" xrefstyle="AUTHORS">online help</ulink><!-- (see xref endterm="authors" linkend="authors" xrefstyle="AUTHORS"></xref> AUTHORS below)-->.</para>
</refsect1>
<refsect1 id='platform_options'><title>PLATFORM OPTIONS</title>
<para> Listed below are the command line arguments processed by various parts of the
<command>Eclipse</command> runtime.
Many of these values can also be specified using System properties either on the command line
using <command>-D VM</command> arguments, by specifying their values in a <filename>config.ini</filename> file or by using a
<filename><launcher>.ini</filename> file. Using the two latter techniques it is possible to customize
<command>Eclipse</command> without using command line arguments at all.</para>
<para>For each argument in the list, its corresponding System property key is given (in {}). Also
given is the <command>Eclipse</command> runtime layer in which the
command line argument is processed (in ()). </para>
<variablelist remap='TP'>
<varlistentry>
<term><option>
-application <id> (Runtime)
</option></term>
<listitem>
<para>
The identifier of the application to run. The value given here
overrides any application defined by the product being run.</para>
<para>
This is equivalent to setting the property
<emphasis>eclipse.application</emphasis> to
<id>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-arch <architecture> (OSGi)
</option></term>
<listitem>
<para>The processor architecture value.</para>
<para>
This is equivalent to setting the property <emphasis>osgi.arch</emphasis> to
<architecture>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-clean (OSGi)
</option></term>
<listitem>
<para>
Wipe clean any cached data used by the OSGi
framework and <command>eclipse</command> runtime. This will clean
the caches used to store bundle dependency resolution and <command>eclipse</command>
extension registry data. Using this option will force <command>eclipse</command> to
reinitialize these caches.
</para>
<para>
This is equivalent to setting the property <emphasis>osgi.clean</emphasis> to
"true".
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-configuration <location> (Main)
</option></term>
<listitem>
<para>The configuration location for this run of the platform. The
configuration determines what plug-ins will run as well as various
other system settings. See the On-line Help for details (SEE ALSO below).</para>
<para>
This is equivalent to setting the property <emphasis>osgi.configuration.area</emphasis>
to <location>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-console [port] (OSGi)
</option></term>
<listitem>
<para>Enable the OSGi console (if installed). If the [port] value is a suitable integer, it is interpreted as
the port on which the console listens and directs its output to the
given port. Handy for investigating the state of the system.</para>
<para>
This is equivalent to setting the property <emphasis>osgi.console</emphasis> to [port] or the
empty string if the default port is to be used (i.e., when the port is not specified).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-consoleLog (Runtime)
</option></term>
<listitem>
<para>Any log output is also sent to Java's
System.out (typically back to the command shell if any). Handy when
combined with <command>-debug</command>.</para>
<para>
This is equivalent to setting the property <emphasis>eclipse.consoleLog</emphasis> to
"true".
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-data <location> (OSGi)<literallayout></literallayout>
</option></term>
<listitem>
<para>The instance data location for this session. Plug-ins use this
location to store their data. For example, the Resources plug-in
uses this as the default location for projects (aka the workspace).
See the On-line Help for details (SEE ALSO below).
</para>
<para>
This is equivalent to setting the property <emphasis>osgi.instance.area</emphasis> to
<location>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-debug [options file] (OSGi)
</option></term>
<listitem>
<para>Put the platform in debug mode. If [options file] is given, it is interpreted as the location of the
<filename>.options</filename> file. This file indicates what debug points are available
for a plug-in and whether or not they are enabled. If a location is
not specified, the platform searches for the<filename> .options</filename> file under
the install directory.</para>
<para>
This is equivalent to setting the property <emphasis>osgi.debug</emphasis> to
[options file] or the empty string to simply enable debug (i.e., if
the options file location is not specified).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-dev [entries] (OSGi)
</option></term>
<listitem>
<para>Turn on dev mode. If given, [entries] should be a comma-separated class path entries
which are added to the class path of each plug-in or a URL to a
Java properties file containing custom classpath additions for a
set of plug-ins. For each plug-in requiring a customized dev time
classpath the file will contain an entry of the
form.</para>
<para>
This is equivalent to setting the property <emphasis>osgi.dev</emphasis> to
[entries] or the empty string to simply enable dev mode (i.e., if
entries are not specified).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-eclipse.keyring <file path> (Equinox)
</option></term>
<listitem>
<para>
Set to override location of the default secure storage.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-eclipse.password <file path> (Equinox)
</option></term>
<listitem>
<para>
If specified, the secure storage treats contents of the file as a
default password. When not set, password providers are used to
obtain a password.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-feature <feature id> (Runtime)
</option></term>
<listitem>
<para>
Set the identifier of the product being run. This controls various
branding information and what application is used.
</para>
<para>
This is equivalent to setting the property <emphasis>eclipse.product</emphasis> to <feature
id>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-framework <location> (Main)
</option></term>
<listitem>
<para>
Set the URL location of the OSGi framework. Useful if the <command>Eclipse</command>
install is disjoint. See the On-line Help for details (SEE ALSO below).</para>
<para>
This is equivalent to setting the property <emphasis>osgi.framework</emphasis> to
<location>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-initialize (Main)
</option></term>
<listitem>
<para>
Initializes the configuration being run. All runtime related data
structures and caches are refreshed. Any user/plug-in defined
configuration data is not purged. No application is run, any
product specifications are ignored and no UI is presented (e.g.,
the splash screen is not drawn).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-install <location> (Main)
</option></term>
<listitem>
<para>Set the install location of the platform. This option indicates the
location of the basic <command>Eclipse</command> plug-ins and is useful if the <command>Eclipse</command>
install is disjoint.</para>
<para>
This is equivalent to setting the property <emphasis>osgi.install.area</emphasis> to
<location>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-keyring <location> (Runtime)
</option></term>
<listitem>
<para>
The location of the authorization database on disk. This argument
has to be used together with the <command>-password</command> argument.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
--launcher.library <location> (Executable)
</option></term>
<listitem>
<para>
The location of the <command>eclipse</command> executable's companion shared
library. If not specified the executable looks in the plugins
directory for the appropriate
<emphasis>org.eclipse.equinox.launcher.[platform] fragment</emphasis> with the highest
version and uses the shared library named <filename>eclipse_*</filename> inside.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
--launcher.ini <location> (Executable)
</option></term>
<listitem>
<para>
The location of the product .ini file to use. If not
specified the executable will look for a file beside the launcher
with the same name and the extension <filename>.ini</filename>. (ie., <filename>/usr/bin/eclipse</filename>
looks for <filename>eclipse.ini</filename>, <filename>/opt/product</filename> looks for
<filename>product.ini</filename>).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
--launcher.suppressErrors (Executable)
</option></term>
<listitem>
<para>
If specified the executable will not display any error or message
dialogs. This is useful if the executable is being used in an
unattended situation.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
--launcher.XXMaxPermSize <value> (Executable)
</option></term>
<listitem>
<para>
If specified, and the executable detects that the VM being used is
a Sun VM, then the launcher will automatically add the
<option>-XX:MaxPermSize=<value></option> vm argument. The executable is
not capable of detecting Sun VMs on all
platforms.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-name <string>
</option></term>
<listitem>
<para>
The name to be displayed in task bar item when the application
starts up. When not set, the name is the name of the executable.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-nl <locale> (OSGi)
</option></term>
<listitem>
<para>
The name of the locale on which <command>Eclipse</command> platform will run. NL
values should follow the standard Java locale naming conventions.
</para>
<para>
This is equivalent to setting the property
<emphasis>osgi.nl</emphasis> to
<locale>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-noExit (OSGi)
</option></term>
<listitem>
<para>
Disable automatic termination of the VM after the <command>eclipse</command>
application has ended. This is useful for examining the OSGi
framework after the <command>eclipse</command> application has ended.
</para>
<para>
This is equivalent to setting the property
<emphasis>osgi.noShutdown</emphasis> to
"true".
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-noLazyRegistryCacheLoading (Runtime)
</option></term>
<listitem>
<para>
Deactivate the platform's plug-in registry cache loading
optimization. By default, configuration elements are
loaded from the registry cache (when available) only on demand,
reducing memory footprint. This option forces the registry cache to
be fully loaded at startup.
</para>
<para>
This is equivalent to setting the property
<emphasis>eclipse.noLazyRegistryCacheLoading</emphasis>
to "true".
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-noRegistryCache (Runtime)
</option></term>
<listitem>
<para>
The internal extension registry cache will
neither be read nor written.
</para>
<para>
This is equivalent to setting the property
<emphasis>eclipse.noRegistryCache</emphasis>
to "true".
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-noSplash (Executable, Main)
</option></term>
<listitem>
<para>
Controls whether or not the splash screen is shown.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-os <operating system> (OSGi)
</option></term>
<listitem>
<para>
The operating system value. The value should be one of the <command>Eclipse</command>
processor architecture names known to <command>Eclipse</command> (e.g., x86, sparc,
...).
</para> <para>
This is equivalent to setting the property
<emphasis>osgi.os</emphasis> to
<operating system>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-password <password> (Runtime)
</option></term>
<listitem>
<para>
The password for the authorization database.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-pluginCustomization <location> (Runtime)
</option></term>
<listitem>
<para>
The file system location of a properties file containing default
settings for plug-in preferences. These default settings override
default settings specified in the primary feature. Relative paths
are interpreted relative to the current working directory for
<command>eclipse</command> itself.
</para>
<para>
This is equivalent to setting the property
<emphasis>eclipse.pluginCustomization</emphasis>
to <location>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-product <id> (OSGi)
</option></term>
<listitem>
<para>
The identifier of the product being run. This controls various
branding information and what application is used.
</para>
<para>
This is equivalent to setting the property
<emphasis>eclipse.product</emphasis> to <id>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-showSplash <bitmap> (Executable, Main)
</option></term>
<listitem>
<para>
Specifies the bitmap to use in the splash screen. If specified, the
launcher may be able to show the splash screen before starting the
Java VM. If not specified, Main will find the bitmap using
the <emphasis>osgi.splashLocation</emphasis> and <emphasis>osgi.splashPath</emphasis>
properties.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-startup <location> (Executable)
</option></term>
<listitem>
<para>
The location of jar used to startup <command>eclipse</command>. The jar referred to
should have the <emphasis>Main-Class</emphasis> attribute set to
<emphasis>org.eclipse.equinox.launcher.Main</emphasis>. If this parameter is not set,
the executable will look in the plugins directory for
the <emphasis>org.eclipse.equinox.launcher bundle</emphasis> with the highest
version.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-user <location> (OSGi)
</option></term>
<listitem>
<para>
Set the location of the user area. The user area contains data (e.g.,
preferences) specific to the OS user and independent of any <command>Eclipse</command>
install, configuration or instance. See the On-line Help for details (SEE ALSO below).
</para>
<para>
This is equivalent to setting the property
<emphasis>osgi.user.area</emphasis> to
<location>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-vm <path to java vm> (Executable, Main)
</option></term>
<listitem>
<para>
When passed to the <command>Eclipse</command> executable, this option is used to
locate the Java VM to use to run <command>Eclipse</command>. It should be the full
file system path to an appropriate: Java<filename> jre/bin</filename> directory, Java
Executable, Java shared library (<filename>libjvm.so</filename>), or a Java
VM Execution Environment description file. If not specified,
the <command>Eclipse</command> executable uses a search algorithm to locate a suitable
VM. In any event, the executable then passes the path to the actual
VM used to Java Main using the <command>-vm</command> argument. Java Main then stores
this value in <emphasis>eclipse.vm</emphasis>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-vmargs [vmargs*] (Executable, Main)
</option></term>
<listitem>
<para>
when passed to the <command>Eclipse</command>, this option is used to customize the
operation of the Java VM to use to run <command>Eclipse</command>. If specified, this
option must come at the end of the command line. Even if not
specified on the executable command line, the executable will
automatically add the relevant arguments (including the class being
launched) to the command line passed into Java using the <command>-vmargs</command>
argument. Java Main then stores this value in
<emphasis>eclipse.vmargs</emphasis>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-ws <window system> (OSGi)
</option></term>
<listitem>
<para>
Set the window system value. The value should be one of the <command>Eclipse</command>
window system names known to <command>Eclipse</command> (e.g., win32, motif, ...).
</para>
<para>
This is equivalent to setting the property
<emphasis>osgi.ws</emphasis> to
<window system>.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id='see_also'><title>SEE ALSO</title>
<para><citerefentry><refentrytitle>java</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>ecj</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
<para><command>Eclipse</command> On-line Help <ulink url='http://help.eclipse.org/'>http://help.eclipse.org/</ulink>
<glossterm>Platform Plug-in Developer Guide</glossterm> > <glossterm>Reference</glossterm> > <glossterm>Other reference information</glossterm> >
<glossterm>Runtime Options</glossterm>.</para>
</refsect1>
<refsect1 id='files'><title>FILES</title>
<para>The system wide config.ini file is <filename>/etc/eclipse.ini</filename>. User level Configuration file is
<filename>$HOME/.eclipse/org.eclipse.platform_<version>_<id>/configuration/config.ini</filename>.</para>
</refsect1>
<refsect1 XrefLabel="AUTHORS" id="authors"><title>AUTHORS</title>
<para>
The <command>Eclipse</command> Project was originally created by IBM in November 2001 and
supported by a consortium of software vendors. The <command>Eclipse</command> Foundation was
created in January 2004 as an independent not-for-profit corporation to act as the steward of the
<command>Eclipse</command> community.
</para>
<para>This manual page was semi-automatically transformed from the
Runtime Options HTML help using <command>pandoc</command> and
<command>docbook2x-man</command> by Pablo Duboue <pablo.duboue@gmail.com>.</para>
</refsect1>
</refentry>
|