-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getProperty(AppOptionKeys.APP_DATA_DIR_KEY) is returning default value #2084
Comments
That is because --appDataDir is not set and instead, the default is used: bisq/core/src/main/java/bisq/core/app/BisqExecutable.java Lines 425 to 428 in 83e1dd3
same cause as #2048 (comment) I would suggest reverting #1961 as @cbeams suggested in #2063 for the https://github.com/bisq-network/bisq/milestone/21. However, as the changes of #1961 are much welcome and do clean up the command line API pretty good, I would suggest planning a refactoring of the option processing for a future release. |
Maybe we can revert only those parts of #1961 where the setting of the defaults have been changed. Seems those are the problematic issues. Would be good to get that asap to get it shipped with the next release mid next week. |
Reverting the removal of the |
Ah thanks @cbeams - the benefits of granular clean commits ;-) |
If you use option
--appName=Bisq-1
the result fromenvironment.getProperty(AppOptionKeys.APP_DATA_DIR_KEY);
is
Bisq
instead ofBisq-1
.If accessed with
environment.getAppDataDir();
it is correct.The default value is applied.
Caused bug at backup (backups Bisq instead of Bisq-1).
The text was updated successfully, but these errors were encountered: