mguessan / davmail

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
http://davmail.sourceforge.net
GNU General Public License v2.0
582 stars 86 forks source link

.properties file scambling #271

Closed jterrain closed 1 year ago

jterrain commented 1 year ago

Why does the current version of DavMail, when it runs, take a well-organized .properties file (commented, lines grouped by functionality, etc.) and (a) strip out all the comments; and (b) reorder the lines into apparently random order?

Is there a way to discontinue this behavior so that the user's preferred .properties file comments/order is retained?

mguessan commented 1 year ago

Because initially config file was not designed to be human readable and implementation was based on native java properties file handling.

However I implemented a new logic to load/save config file and keep comments... which is not working. Need to investigate and fix this, thanks for your feedback

atelszewski commented 1 year ago

I support having this improvement as well. Thank you! :-)

mguessan commented 1 year ago

Fix pushed, should be available in appveyor build in a few minutes

atelszewski commented 1 year ago

Worked for me, thanks! :-)