Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#19 settings storage location

2.3
closed
Mirko
2.3 (14)
5
2014-09-04
2005-04-27
Anonymous
No

I am looking for an application to put my passwords and stuff in a
file on a usb flash drive. SDM stores the data in a choosable
directory but the settings are stored in the home directory of the
computer which I happen to be using at the time. This means they
are lost when sticks the stick into another computer.

Would it be possible to store the settings in the same directory as
the data file?

Alan Clifford

alan+one@clifford.ac

Discussion

  • Charles McCann
    Charles McCann
    2005-06-01

    Logged In: YES
    user_id=146141

    Funny you should ask. It was that way originally, but one of
    the developers thought it would be better to store in the
    user's home directory.

    Maybe we can make that configurable for you in the
    preferences.

     
  • Mike Karas
    Mike Karas
    2005-07-07

    Logged In: YES
    user_id=1308619

    just a hint from a java newbie (startet java some months ago).
    You can switch your user home directory as follows

    java -Duser.home="usb_directory" -jar -cp.;./sdm.jar
    net.sourcefourge.sdm.SecureDateManger "usb_directory/yourfile"

    Mike Karas

     
  • Charles McCann
    Charles McCann
    2012-12-31

    • summary: Data settings on on usb memory stick --> settings storage location
    • milestone: -->
     
  • Charles McCann
    Charles McCann
    2012-12-31

    • labels: --> 2.3
    • milestone: --> 2.3
     
  • Mirko
    Mirko
    2013-01-02

    • assigned_to: Mirko
     
  • Mirko
    Mirko
    2013-01-25

    Now by default the .sdm-ini file is stored in the user home dir in a folder called .sdm
    or
    it can be passed using the P parameter [-p <path application preferences (.sdm-ini.xml)>]

    We can't store it in the preference because they are the Preference!
    If we put it in the application folder all the people using SDM in this machine have the same preferences.

    What do you think is the best approach ?

     
  • Mirko
    Mirko
    2014-02-27

    I have changed this, now by default we store it in the application folder. In this way the application become portable with the user preferences.

    I can be changed at run time using he P parameter [-p ].

     
  • Mirko
    Mirko
    2014-02-27

    • status: open --> pending
     
  • Mirko
    Mirko
    2014-09-04

    • status: pending --> closed