rcp for multi-user,platform.getConfiguration didn't find config.ini [message #895700] |
Sun, 15 July 2012 05:36 |
neal zhang Messages: 45 Registered: July 2012 |
Member |
|
|
hi all,i develop a rcp applicaton.but customer ask to support multi-user,so i add
"osgi.configuration.area=@user.home/workspace/configuration" in "program"/configuration/config.ini.
but i add another function,automatically change language,so add some codes
"Platform.getConfigurationLocation().getURL().getFile() + System.getProperty("file.separator") + "config.ini";"
setProperty("osgi,nl",xxx).
Platform.getConfigurationLocation()will show a exception which didn't find configuration "config.ini",reason i set "osgi.configuration.area=@user.home/workspace/configuration",so platform find "config.ini" in "user.home/workspace/configuration".
how i implement the two functions at the same time.
i geuss that is a bug in eclipse(version 3.6).but i am not assue,i hope someone can help me.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03073 seconds