I incorrectly analyzed the problem.
The problem is that the
$HOME/.eclip/org.eclipse.platform_<version>_<id>/configuration/config.ini (not
/etc/eclipse.ini) don't accept the -vmargs switch. More exactly said: It
is accepted, but silently ignored and even it is shown in the Eclipse in
the dialog Help->About Eclipse SDK->Instalation Details->Configuration.
This is pretty confusing.
I think that the
$HOME/.eclipse/org.eclipse.platform_<version>_<id>/configuration/config.ini
is parsed by Java code during startup and not by wrapper that starts jvm.
Tomas
Dne 11.4.2010 17:27, Niels Thykier napsal(a):
-vmargs works fine for me in my (/etc/)eclipse.ini. Please post your
eclipse.ini, so we can have a look at it (please gzip it or so, so it is
not inlined the mail, it makes it difficult to spot mistakes like
trailing spaces).
I do not think how this patch could work since the -vmargs (and
consequent vm options) must be the last argument on command line and
there is no way how to inject parameters into eclipse via environment
variables.
=20
I propose that ./eclipse/eclipserc should be changed to=20
./eclipse/eclipsevm and should contain just the vm arguments.
=20
The=20
$HOME/.eclipse/org.eclipse.platform_<version>_<id>/configuration/config=
=2Eini
will be used for standalone eclipse arguments (=3D non vmargs).
=20
The wrapper script handling ~/.eclipse/eclipserc was broken. We are
trying to remove the remaining pieces of the wrapper that are
(unfortunately) still required for sane defaults/operation.
But I have no interest in reviving parts of that wrapper if I can
avoid it! Quite a few bugs closed in the 3.5.2 upload are due to the
removal of that overcomplicated wrapper.
FYI
dpkg -l
ii eclipse 3.5.2-2 =20
Extensible Tool Platform and Java IDE
ii eclipse-jdt 3.5.2-2 =20
Eclipse Java Development Tools (JDT)
ii eclipse-pde 3.5.2-2 =20
Eclipse Plug-in Development Environment (PDE
ii eclipse-platform 3.5.2-2 =20
Eclipse platform without plug-ins to develop
ii eclipse-platform-data 3.5.2-2 =20
Eclipse platform without plug-ins to develop
ii eclipse-plugin-cvs 3.5.2-2 =20
Eclipse Team Integration (CVS support)
ii eclipse-rcp 3.5.2-2 =20
Eclipse Rich Client Platform (RCP)
=20
Tomas
=20
~Niels
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]