Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Storage of the preferences(incorrect user.home)
Storage of the preferences [message #1472076] Thu, 13 November 2014 15:28
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
Hello

I'm developing a multi-user application, which will be distributed by the admins on a network drive.

every user launches the application from this drive (read only)
all user-data shall be stored in the user home directory.

i tried to change the data path for preferences to:

-data @user.home/myApp/


but this leads to some weird behaviour at some of our partners, because they mapped their 'Documents' folder of Windows to an UNC path and due the fact that user.home does return not the OS'es %UserProfile% environment variable paths get fucked up.

so how can i pass %UserProfile% to the preferences location?

NOTE: i read that Java8 solves this issue, but forcing an update to Java8 seems not to be an option in the company.
Previous Topic:how to make PropertySheetViewer as selection provider ?
Next Topic:How to disable Navigation History for my editors
Goto Forum:
  


Current Time: Thu Apr 25 01:05:19 GMT 2024

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

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

Back to the top