aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2011-09-10 10:23:25 +0000
committerRalph Sennhauser <sera@gentoo.org>2011-09-10 10:23:25 +0000
commitd4ee7d576288f2bb2964baf9a22c03cd4a17ddb7 (patch)
tree540f1c620ce2e7f494fa5c29e3954138530feea3
parentFix version manager (diff)
downloadjava-config-d4ee7d576288f2bb2964baf9a22c03cd4a17ddb7.tar.gz
java-config-d4ee7d576288f2bb2964baf9a22c03cd4a17ddb7.tar.bz2
java-config-d4ee7d576288f2bb2964baf9a22c03cd4a17ddb7.zip
Restore virtuals config file
svn path=/projects/java-config-2/branches/generation3-support/; revision=8806
-rw-r--r--config/virtuals6
-rw-r--r--setup.py1
2 files changed, 7 insertions, 0 deletions
diff --git a/config/virtuals b/config/virtuals
new file mode 100644
index 0000000..52afbf1
--- /dev/null
+++ b/config/virtuals
@@ -0,0 +1,6 @@
+# Here you can set which provider to prefer for a given virtual at runtime.
+#
+# Example:
+#
+#javamail=gnu-javamail-1
+#javamail=sun-javamail
diff --git a/setup.py b/setup.py
index 3c4ab62..9e986df 100644
--- a/setup.py
+++ b/setup.py
@@ -79,6 +79,7 @@ setup (
('share/pixmaps/', ['data/java-icon48.png']),
('share/java-config-2/launcher', ['src/launcher.bash']),
('share/eselect/modules', glob('src/eselect/*.eselect')),
+ (eprefix() + '/etc/java-config-2/', ['config/virtuals']),
(eprefix() + '/etc/java-config-2/build/', ['config/jdk.conf','config/compilers.conf']),
(eprefix() + '/etc/env.d/',['config/20java-config']),
(eprefix() + '/etc/profile.d/', glob('src/profile.d/*')),