vmargs of eclipse.ini ignored in case any vmarg is passed on the command line [message #488254] |
Sat, 26 September 2009 21:44 |
|
Hello
I use vmargs to customize the behaviour in a plug-in and I need to set
sensible values for ALL employees at our company. So, I thought about
putting these vmargs into eclipse.ini in that way
-vmargs
....(the ones already there from Eclipse 3.5.1)...
-Dfoo=bla
This works perfectly in case the user does not pass Eclipse any -vmarg
on the command line starting Eclipse. As soon as a -vmarg is present
from the command line, all vmargs from eclipse.ini are simply ignored.
Is this the intended behaviour?
I expected that the vmargs from the command line and ini file are merged
in a way so that ones from the command line overwrite arguments from the
ini file in case the key/name is identical (some sort of simple
inheritance) and that all vmargs not declared on the command line are
used from the ini file.
All the doc about running Eclipse and passing arguments to it (see help
center) does not tell anything about the issue.
Is there any way to configure system properties on an installation level
that are always passed regardless what command line options the user
passes?
(I know, a plugin with a startup hook setting the values or a fragement
supplying an additional configuration file instead of using system
properties would both be solutions, but I think coding a plugin is a bit
too much to ask for users of my plugin that just want to preset some
behaviour on an installation level).
Thanks
Michael
|
|
|
|
Powered by
FUDForum. Page generated in 0.03162 seconds