Nothing in Errolog, if libx is not used

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1519 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 19 years ago
parent 50d85657b8
commit 7bc393c7e9

@ -9,14 +9,17 @@ else
#get javastart args
java_args=""
for i in $(grep javastart DATA/SETTINGS/httpProxy.conf);
do i="${i#javastart_*=}";java_args=-$i" "$java_args;
done
if [ -f DATA/SETTINGS/httpProxy.conf ]
then
for i in $(grep javastart DATA/SETTINGS/httpProxy.conf);
do i="${i#javastart_*=}";java_args=-$i" "$java_args;
done
fi
# generating the proper classpath
CLASSPATH=""
for N in `ls -1 lib/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done
for N in `ls -1 libx/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done
for N in lib/*.jar; do CLASSPATH="$CLASSPATH$N:"; done
for N in libx/*.jar; do CLASSPATH="$CLASSPATH$N:"; done
if [ x$1 == x-d ] #debug
then

@ -10,8 +10,8 @@ else
# generating the proper classpath
CLASSPATH=""
for N in `ls -1 lib/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done
for N in `ls -1 libx/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done
for N in lib/*.jar; do CLASSPATH="$CLASSPATH$N:"; done
for N in libx/*.jar; do CLASSPATH="$CLASSPATH$N:"; done
java -classpath classes:htroot:$CLASSPATH yacy -shutdown
fi

Loading…
Cancel
Save