Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Specify Userdata location...
Specify Userdata location... [message #1419244] Mon, 08 September 2014 10:04 Go to next message
philipp huebner is currently offline philipp huebnerFriend
Messages: 65
Registered: July 2009
Member
Hi folks,
I have a problem here with our Eclipse 3.8 based RCP application.
I want to specify the location of the userdata directory explcitly. I tried out all possible osgi flags in the ini file; none of them works.
The application writes its userdata in the %APPDATA%/subdir/aplicationName directory.

Where in the plugin, product configuration is the directory name defined?

Thanks...
Re: Specify Userdata location... [message #1425592 is a reply to message #1419244] Wed, 17 September 2014 14:23 Go to previous message
Eclipse UserFriend
Hi Philipp.

The workspace location is set via the osgi.instance.area and osgi.instance.area.default properties. There are some examples of how you can integrate this with a p2.inf file as part of your build. You can use platform filters in your p2.inf to set values appropriate to each platform. These seem to be:



  • OSX: @user.home/Library/Application Support/<<app>>
  • Linux: @user.home/.config/shared/<<app>>
  • Win32: @user.home/Application Data/<<app>>

Previous Topic:Using ProjectExplorer in an e4 RCP app
Next Topic:RCP Product Export Error
Goto Forum:
  


Current Time: Thu Apr 25 09:47:11 GMT 2024

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

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

Back to the top