Launching Equinox offline with the --launcher.ini option

I am trying to run Equinox and antRunner in headless mode using a special eclipse.ini file. The option "--launcher.ini" should work according to: http://wiki.eclipse.org/Equinox_Launcher .

However, when I run the following command line:

java.exe 
  -cp "C:\Program Files\eclipse\plugins\org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar" \
  org.eclipse.core.launcher.Main \
  --launcher.ini "C:\ini\my_eclipse.ini" \
  -application org.eclipse.ant.core.antRunner \
  -console \
  -data "c:\my_workspace" \
  -file "c:\my_buildfiles\build.xml" \

The following error message appears:

osgi> Unknown argument: --launcher.ini 
Unknown target: C:\ini\my_eclipse.ini
Buildfile: .\build.xml

How to load custom eclipse.ini when starting Eclipse using Equinox from the command line?

+3
source share
1 answer

, Java Launcher, wiki (eclipse.exe , ).

Launcher.ini , Java ( , vm, vm ..). , , refernece launcher.ini .

+2

All Articles