*) solving problems with wrong classpath

see: http://www.yacy-forum.de/viewtopic.php?p=4045

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@264 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent e88951166b
commit 9e4bcc828d

@ -112,6 +112,7 @@
<!-- defining the classpath that should be used for compiling -->
<path id="project.class.path">
<pathelement location="${build}"/>
<pathelement location="${htroot}"/>
<!-- libs needed for the yacy thread/object-pools -->
<pathelement location="${lib}/commons-collections.jar" />

@ -2,7 +2,7 @@
If %1.==CPGEN. GoTo :CPGEN
Rem Generating the proper classpath unsing loops and labels
Set CLASSPATH=classes
Set CLASSPATH=classes;htroot
For %%X in (lib/*.jar) Do Call %0 CPGEN lib\%%X
For %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%X

@ -5,4 +5,4 @@ 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
java -classpath classes:$CLASSPATH -server yacy
java -classpath classes:htroot:$CLASSPATH -server yacy

@ -14,12 +14,12 @@ else
if [ x$1 != x-d ]
then
nohup java -classpath classes:$CLASSPATH yacy >> yacy.log &
nohup java -classpath classes:htroot:$CLASSPATH yacy >> yacy.log &
echo "YaCy started as daemon process. View it's activity in yacy.log"
echo "To stop YaCy, please execute stopYACY.sh and wait some seconds"
echo "To administrate YaCy, start your web browser and open http://localhost:8080"
else
java -classpath classes:$CLASSPATH yacy
#java -Xms16m -Xmx200m -classpath classes:$CLASSPATH yacy
#java -Xms16m -Xmx200m -classpath classes:htroot:$CLASSPATH yacy
fi
fi

@ -2,7 +2,7 @@
If %1.==CPGEN. GoTo :CPGEN
Rem Generating the proper classpath unsing loops and labels
Set CLASSPATH=classes
Set CLASSPATH=classes;htroot
For %%X in (lib/*.jar) Do Call %0 CPGEN lib\%%X
For %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%X

@ -2,7 +2,7 @@
If %1.==CPGEN. GoTo :CPGEN
Rem Generating the proper classpath unsing loops and labels
Set CLASSPATH=classes
Set CLASSPATH=classes;htroot
For %%X in (lib/*.jar) Do Call %0 CPGEN lib\%%X
For %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%X

@ -5,4 +5,4 @@ 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
java -classpath classes:$CLASSPATH yacy -shutdown
java -classpath classes:htroot:$CLASSPATH yacy -shutdown

@ -6,6 +6,6 @@ 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
java -classpath classes:$CLASSPATH yacy -shutdown
java -classpath classes:htroot:$CLASSPATH yacy -shutdown
echo "please wait until the YaCy daemon process terminates"
echo "you can monitor this with 'tail -f yacy.log' and 'fuser yacy.log'"
Loading…
Cancel
Save