Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » config.ini Cannot Set "user.name" in Equinox
config.ini Cannot Set "user.name" in Equinox [message #112516] Wed, 25 June 2008 16:05
Ted is currently offline TedFriend
Messages: 1
Registered: July 2009
Junior Member
Trying to use config.ini to set
user.name=someUser
fails, and the actual value that is set seems to be the current login
name.

This can be verified by doing a "setprop".

Other settings in config.ini do get properly set, for instance
user.something=thisthing
...works fine.

Setting user.name via a JVM command line argument does however work. For
instance
<jvm> -Duser.name=someUserArg -jar org.eclipse.osgi_x.x.x.jar .....
the setprop does show user.name=someUserArg

This happens in Linux and Windows. In Windows, attempting to clear the
environment variable via "SET USERNAME=" has no effect. Equinox still
finds and populates user.name with the current user.

Is there some reason for this config.ini setting being overridden/ignored,
or is this a bug?
Previous Topic:java.lang.NoClassDefFoundError: org/eclipse/core/runtime/FileLocator
Next Topic:Missing org.eclipse.equinox.transforms.hook
Goto Forum:
  


Current Time: Mon Nov 24 04:23:54 GMT 2014

Powered by FUDForum. Page generated in 0.02695 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software