[kaffe] CVS kaffe (dalibor): Made kaffe pick up extra jars installed by user

Kaffe CVS cvs-commits at kaffe.org
Thu Jan 22 08:24:02 PST 2004


PatchSet 4360 
Date: 2004/01/22 16:17:20
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Made kaffe pick up extra jars installed by user

2004-01-19  Dalibor Topic <robilad at kaffe.org>

        * kaffe/scripts/kaffe.in:
        Add all jars found in prefix/lib to the BOOTCLASSPATH,
        thereby making jars installed by install-jars accessible
        to the user.

Members: 
	ChangeLog:1.1945->1.1946 
	kaffe/scripts/kaffe.in:1.31->1.32 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1945 kaffe/ChangeLog:1.1946
--- kaffe/ChangeLog:1.1945	Thu Jan 22 15:53:28 2004
+++ kaffe/ChangeLog	Thu Jan 22 16:17:20 2004
@@ -1,5 +1,12 @@
 2004-01-19  Dalibor Topic <robilad at kaffe.org>
 
+	* kaffe/scripts/kaffe.in:
+	Add all jars found in prefix/lib to the BOOTCLASSPATH,
+	thereby making jars installed by install-jars accessible
+	to the user.
+
+2004-01-19  Dalibor Topic <robilad at kaffe.org>
+
 	* kaffe/scripts/install-jar.in:
 	Put the jars in $prefix/lib/ directory. Use
 	basename while copying the jars to avoid problems with
Index: kaffe/kaffe/scripts/kaffe.in
diff -u kaffe/kaffe/scripts/kaffe.in:1.31 kaffe/kaffe/scripts/kaffe.in:1.32
--- kaffe/kaffe/scripts/kaffe.in:1.31	Sat Jan 10 20:44:41 2004
+++ kaffe/kaffe/scripts/kaffe.in	Thu Jan 22 16:17:23 2004
@@ -71,6 +71,12 @@
     BOOTCLASSPATH="$KAFFE_JRELIBDIR/$f$PATHSEP$BOOTCLASSPATH"
   fi
 done
+
+# And now add all the installed jars to bootclasspath
+for f in "$KAFFE_LIBDIR"/*.jar ; do
+  BOOTCLASSPATH="$BOOTCLASSPATH$PATHSEP$f"
+done
+
 case "$DIRSEP" in /) ;;
 *) BOOTCLASSPATH=`echo "$BOOTCLASSPATH" | sed 's,/,'"$DIRSEP"',g'` ;;
 esac




More information about the kaffe mailing list