AY1920S1-CS2113T-F14-1 / MooMooMoney

Duke is a command line based personal assistant
0 stars 5 forks source link

FAQ on data folder being created at the same location as the jar file does not happen. #161

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

Describe the bug FAQ on data folder being created at the same location as the jar file does not happen.

To Reproduce java -jar .\MooMooMoney-v1.3.jar look at the file directory, no folder is created. execute some commands like /add etc.

Expected Behaviour No data folder found.

Screenshots

image.png

Before

image.png

After running the .jar

image.png

Data folder still not created

Additional context All commands will not work, like as mentioned previously in the add/ issue. You seem to have issues creating the data directory if it does not exist. Permissions was not an issue. I gave full rwx access. What seem to work in your intellij does not mean that it will work when you do it on the .jar file, at least based on personal experience since i implemented storage in my own group too. This is rather important as your project seems to rely on storage a lot.

Reported by: @shamussy

Severity: High


[original: shamussy/ped#6]