[plm] 03/10: more docs; don't use absolute path to jarfiles

Martin Quinson mquinson at alioth.debian.org
Sun Sep 8 21:27:43 UTC 2013


This is an automated email from the git hooks/post-receive script.

mquinson pushed a commit to branch debian-debian
in repository plm.

commit fdce16a0888977f3eddc4df4502a7c26346bf20e
Author: Martin Quinson <martin.quinson at loria.fr>
Date:   Sun Sep 8 22:49:39 2013 +0200

    more docs; don't use absolute path to jarfiles
---
 debian/plm.sh |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/plm.sh b/debian/plm.sh
index 9f7775f..a4264e6 100755
--- a/debian/plm.sh
+++ b/debian/plm.sh
@@ -6,16 +6,23 @@
 # Jython compiles java bytecode into python bytecode in advance; it needs a user-writable directory to cache it
 export JYTHON_OPTS="${JYTHON_OPTS} -Dpython.cachedir=${HOME}/.jython_cachedir"
 
+# Detect and warn about a possible misconfiguration
 if [ -n "$JAVA_HOME" ] ; then
 	echo "Your JAVA_HOME is set to $JAVA_HOME. Please make sure that this points to a Java7 runtime"
 fi	
-
 if [ -n "$JAVA_CMD" ] ; then
 	echo "Your JAVA_CMD is set to $JAVA_CMD. Please make sure that this points to a Java7 runtime"
 fi	
 
+# We depend on the openjdk runtime 
 find_java_runtime openjdk7
 
-find_jars /usr/share/java/plm.jar
+# Use jython if found (this does not work yet, as we build-dep on jython: jh_build adds it to the depends)
+#if locate_jar jython; then
+#  find_jars jython
+#fi
+
+# We obviously need our own library
+find_jars plm
 
 run_java plm.core.ui.ProgrammersLearningMachine "$@"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plm.git



More information about the pkg-java-commits mailing list