[Lunar-commits] <moonbase> scala-bin: removed the java extension stuff

Duncan Gibson engelsman at lunar-linux.org
Wed Mar 16 21:16:25 CET 2011


commit d4acae1079353d86318e41590544abac44f997c1
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Wed Mar 16 21:16:25 2011 +0100

    scala-bin: removed the java extension stuff
    
    ... seems to break more than it helps ...
---
 zbeta/scala-bin/BUILD     |    8 +-------
 zbeta/scala-bin/CONFIGURE |   11 -----------
 2 files changed, 1 insertions(+), 18 deletions(-)

diff --git a/zbeta/scala-bin/BUILD b/zbeta/scala-bin/BUILD
index 3357661..28030dd 100644
--- a/zbeta/scala-bin/BUILD
+++ b/zbeta/scala-bin/BUILD
@@ -23,12 +23,6 @@
   # symlink man folder
   for file in /usr/scala/latest/man/man1/*; do
     ln -sf $file /usr/man/man1/ || exit 1
-  done &&
-
-  if [ $EXTEND_JAVA == "y" ]; then
-    for file in /usr/scala/latest/lib/*; do
-      ln -sf $file /usr/java/latest/jre/lib/ext/ || exit 1
-    done
-  fi
+  done
 
 ) > $C_FIFO 2>&1
diff --git a/zbeta/scala-bin/CONFIGURE b/zbeta/scala-bin/CONFIGURE
deleted file mode 100644
index def2f1e..0000000
--- a/zbeta/scala-bin/CONFIGURE
+++ /dev/null
@@ -1,11 +0,0 @@
-message "${MESSAGE_COLOR}The Java VM searches for and loads classes in the following order:"
-message "1st: Bootstrap classes (Java platform)"
-message "2nd: Extension classes (Extension mechanism)"
-message "3rd: User classes (need to be specified via CLASSPATH or 'java -cp')"
-message ""
-message "You can add the Scala libraries to Java's extension path to make them"
-message "system wide accessible without having to specify CLASSPATH or adding"
-message "the -cp option to the 'java' command.${DEFAULT_COLOR}"
-message ""
-
-mquery EXTEND_JAVA "Add Scala's libraries to Java's extension path?" y


More information about the Lunar-commits mailing list