use java user.dir as the default "path.home" location

This commit is contained in:
kimchy 2010-06-24 22:11:13 +03:00
parent 4709f00790
commit 98e93322ae

View File

@ -60,7 +60,7 @@ public class Environment {
if (settings.get("path.home") != null) {
homeFile = new File(cleanPath(settings.get("path.home")));
} else {
homeFile = new File(".");
homeFile = new File(System.getProperty("user.dir"));
}
homeFile.mkdirs();