diff options
author | Adrian Almenar <strider@gentoo.org> | 2002-12-09 21:04:03 +0000 |
---|---|---|
committer | Adrian Almenar <strider@gentoo.org> | 2002-12-09 21:04:03 +0000 |
commit | 334fc7a8f557034d4f6b8a3c66930228b0968b8a (patch) | |
tree | c83205630f432f3ce4249b4ebde5cd7e2ba66073 /dev-java | |
parent | version bump, now compiles from source (diff) | |
download | gentoo-2-334fc7a8f557034d4f6b8a3c66930228b0968b8a.tar.gz gentoo-2-334fc7a8f557034d4f6b8a3c66930228b0968b8a.tar.bz2 gentoo-2-334fc7a8f557034d4f6b8a3c66930228b0968b8a.zip |
Some new fixes
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/java-config/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/java-config/files/0.2.7/java-config | 16 | ||||
-rw-r--r-- | dev-java/java-config/files/0.2.7/java-config.1 | 4 |
3 files changed, 22 insertions, 5 deletions
diff --git a/dev-java/java-config/ChangeLog b/dev-java/java-config/ChangeLog index 46ef1245a0ae..3a11471aa263 100644 --- a/dev-java/java-config/ChangeLog +++ b/dev-java/java-config/ChangeLog @@ -1,6 +1,6 @@ # ChangeLog for dev-java/java-config # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.14 2002/12/09 20:18:46 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.15 2002/12/09 21:04:03 strider Exp $ \* Autoupdate keywords (12-6-02) 06 Dec 2002; Rodney Rees <manson@gentoo.org> changed sparc ~sparc keywords @@ -10,7 +10,10 @@ 09 Dec 2002; Adrian Almenar <strider@gentoo.org> java-config-0.2.7.ebuild files/digest-java-config-0.2.7 files/0.2.7/java-config files/0.2.7/java-config.1 files/0.2.7/30java-finalclasspath : Fixed bug #9045. Still masked for better testing. Fixed: Checked if $JAVA_HOME of the vm doesnt exist, then dont list it when - running java-config --list-available-vms. + running java-config --list-available-vms. Checked if user inputs + "--set-system-classpath=" to return a message instead of an error. + Added --clean-system-classpath to clean system classpath. Updated man page to + reflect this change. *java-config-0.2.6 (21 Sep 2002) diff --git a/dev-java/java-config/files/0.2.7/java-config b/dev-java/java-config/files/0.2.7/java-config index c55ef01a6d6e..1da54108068a 100644 --- a/dev-java/java-config/files/0.2.7/java-config +++ b/dev-java/java-config/files/0.2.7/java-config @@ -4,7 +4,7 @@ # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Tools Team <tools@gentoo.org> # Author: Karl Trygve Kalleberg <karltk@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/files/0.2.7/java-config,v 1.1 2002/12/09 20:18:46 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/files/0.2.7/java-config,v 1.2 2002/12/09 21:04:03 strider Exp $ version=0.2.7 all_params="$*" @@ -65,6 +65,7 @@ Options: [--set-user-vm=<vm-id>] [--set-system-classpath=package1,package2,...] [--set-user-classpath=package1,package2,...] + [--clean-system-classpath] EOF echo "Using ${JAVA_HOME}" exit $1 @@ -336,8 +337,17 @@ while test $# -gt 0; do fi ;; --set-system-classpath=*) - echo "CLASSPATH=`calc_full_classpath $optarg`" > \ - /etc/env.d/21java-classpath + if [ "$optarg" == "" ] ; then + eerror "If you want to clean the classpath, please use --clean-system-classpath" + else + echo "CLASSPATH=`calc_full_classpath $optarg`" > \ + /etc/env.d/21java-classpath + fi + ;; + --clean-system-classpath) + if [ -f /etc/env.d/21java-classpath ]; then + rm -f /etc/env.d/21java-classpath + fi ;; --set-user-classpath=*) mkdir -p $HOME/.gentoo diff --git a/dev-java/java-config/files/0.2.7/java-config.1 b/dev-java/java-config/files/0.2.7/java-config.1 index 264d046fdf08..e20e4da2c4a3 100644 --- a/dev-java/java-config/files/0.2.7/java-config.1 +++ b/dev-java/java-config/files/0.2.7/java-config.1 @@ -73,6 +73,10 @@ sets the system-wide default CLASSPATH. sets the user-specific CLASSPATH by putting all necessary env vars into .I $HOME/.gentoo/java-env-classpath (sourced from $HOME/.gentoo/java-env). +.TP +\fB--clean-system-classpath\fI +cleans the system-wide default classpath, leaving only vm needed jars +on it. . .SH AUTHORS |