1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/Constants.java Sun Dec 22 21:02:37 2013 +0100
1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/Constants.java Sun Dec 22 22:02:44 2013 +0100
1.3 @@ -17,6 +17,8 @@
1.4 */
1.5 package info.globalcode.sql.dk;
1.6
1.7 +import java.io.File;
1.8 +
1.9 /**
1.10 *
1.11 * @author Ing. František Kučera (frantovo.cz)
1.12 @@ -27,6 +29,13 @@
1.13 public static final String LICENSE_FILE = "info/globalcode/sql/dk/license.txt";
1.14 public static final String VERSION_FILE = "info/globalcode/sql/dk/version.txt";
1.15 public static final String HELP_FILE = "info/globalcode/sql/dk/help.txt";
1.16 + private static final File HOME_DIR = new File(System.getProperty("user.home"));
1.17 + /**
1.18 + * Directory where config and log files are stored.
1.19 + */
1.20 + public static final File DIR = new File(HOME_DIR, ".sql-dk");
1.21 + public static final File CONFIG_FILE = new File(DIR, "config.xml");
1.22 + public static final String EXAMPLE_CONFIG_FILE = "info/globalcode/sql/dk/example-config.xml";
1.23
1.24 private Constants() {
1.25 }