Add options for configuration file location.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 16 Aug 2011 19:28:29 +0000 (21:28 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 3 Nov 2011 07:45:19 +0000 (08:45 +0100)
commita7d2ac9e58d1fffbb8a9c63c7d4081e8717a6f7f
treeffff117a7299152bd66f39cb9b3b0909d9ba69a7
parent465077535b431004c056301dd9576120fdc58876
Add options for configuration file location.

This commit includes several changes: the configuration does not know
itself anymore where it was loaded from, the ConfigurationLocator is now
used for that. The preferences page does not need access to the
configuration anymore. Finally, the lock file has been removed; now, when
saving a configuration file would overwrite an existing configuration file,
the user is asked for permission.
src/de/todesbaum/jsite/gui/PreferencesPage.java
src/de/todesbaum/jsite/i18n/jSite.properties
src/de/todesbaum/jsite/i18n/jSite_de.properties
src/de/todesbaum/jsite/i18n/jSite_fr.properties
src/de/todesbaum/jsite/main/CLI.java
src/de/todesbaum/jsite/main/Configuration.java
src/de/todesbaum/jsite/main/Main.java