summaryrefslogtreecommitdiff
path: root/resource
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2006-07-04 07:25:44 +0000
committerMark Wielaard <mark@klomp.org>2006-07-04 07:25:44 +0000
commite8300a31ab3b898fb656e5be1956cd41d0d49bda (patch)
tree18754a915a39fc8b52ec48e1af8b17914d8a7880 /resource
parent9fcf2d2352094b519bf39c483e5b72206da76eed (diff)
downloadclasspath-e8300a31ab3b898fb656e5be1956cd41d0d49bda.tar.gz
2006-07-04 Mario Torre <neugens@limasoftware.net>
* configure.ac: Added new option --enable-default-preferences-peer to pass user specified default preference backend. If the GConf peer is built, GConf become the default backend. * resource/META-INF/services/java.util.prefs.PreferencesFactory.in: new file. * lib/Makefile.am: excludes files terminating in 'in' from the metafiles list. * lib/copy-vmresources.sh.in: excludes files terminating in 'in' from copy into META-INF. * java/util/prefs/Preferences.java: added two new import classes gnu.classpath.ServiceFactory and java.util.Iterator. (getFactory): Now try to check for a system defined default preference backend before to fall back on FileBasedPreference.
Diffstat (limited to 'resource')
-rw-r--r--resource/META-INF/services/java.util.prefs.PreferencesFactory.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/resource/META-INF/services/java.util.prefs.PreferencesFactory.in b/resource/META-INF/services/java.util.prefs.PreferencesFactory.in
new file mode 100644
index 000000000..b9465ce54
--- /dev/null
+++ b/resource/META-INF/services/java.util.prefs.PreferencesFactory.in
@@ -0,0 +1 @@
+@DEFAULT_PREFS_PEER@