AledLewis/Clobber — pull request #3 by steveswinsburg (2013-04-04 23:43:12+00:00)
Title: Moved config into hidden dir in user home, added check for file existence, otherwise creates it

Made a change to the path to config so it is in a . directory in user home. Saves polluting the home directory with visible folders.

Also added a check to the config and logger file so its created if it doesn't exist. Previously would throwing a FileNotFoundException:

run:
[java] Failed to instantiate logging
[java] java.io.FileNotFoundException: /Users/steve/.clobber/loggerConfig (No such file or directory)
[java]	at java.io.FileOutputStream.open(Native Method)
[java]	at java.io.FileOutputStream.(FileOutputStream.java:212)
[java]	at java.io.FileOutputStream.(FileOutputStream.java:165)
[java]	at java.io.FileWriter.(FileWriter.java:90)
[java]	at net.foxopen.clobber.Clobber.loadLoggerConfig(Unknown Source)
[java]	at net.foxopen.clobber.Clobber.main(Unknown Source)
[java] Java Result: 255