Change secure storage directory in Eclipse - user.home path issue on Windows

前端 未结 4 1399
甜味超标
甜味超标 2021-01-18 11:40

I have an issue with saving passwords in Eclipse. None of my passwords are \"remembered\" and I\'ve found Eclipse tries to save them in a folder my Windows account doesn\'t

相关标签:
4条回答
  • 2021-01-18 12:06

    Im not 100% sure but if you add this line

    -user c:\some\path
    

    to your eclipse.ini or use it as cmd parameter it should work.

    0 讨论(0)
  • 2021-01-18 12:09

    The secure storage location is set by the "eclipse.keyring" setting.

    To change the storage location to a configuration folder under the eclipse folder with a relative path, add the following before the "-vmargs" line in the eclipse.ini file:

    -eclipse.keyring
    configuration\.eclipse\org.eclipse.equinox.security\secure_storage
    

    Otherwise, an absolute path can be used like:

    -eclipse.keyring
    C:\eclipse\configuration\.eclipse\org.eclipse.equinox.security\secure_storage
    

    To keep the "secure_storage" file in your user directory, copy it to the location you choose.

    Tested with Eclipse Mars.

    0 讨论(0)
  • 2021-01-18 12:12
    -Duser.home=C:\your\path
    

    Tested on eclipse luna.

    0 讨论(0)
  • 2021-01-18 12:17

    try to add new arg to eclipse.ini to point to your folder

    http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.user/reference/ref-securestorage-options.htm

    it is the only solution i found

    0 讨论(0)
提交回复
热议问题