Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) solving problems with wrong classpath see: http://www.yacy-forum.de/viewtopic.php?p=4045
theli9e4bcc828d40
diff --git a/build.xml b/build.xmlindex 0cd4e3d6f..d7f9e1c6d 100644--- a/build.xml+++ b/build.xml@@ -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" />diff --git a/startYACY.bat b/startYACY.batindex 05656a290..828857f9b 100644--- a/startYACY.bat+++ b/startYACY.bat@@ -2,7 +2,7 @@If %1.==CPGEN. GoTo :CPGENRem Generating the proper classpath unsing loops and labels-Set CLASSPATH=classes+Set CLASSPATH=classes;htrootFor %%X in (lib/*.jar) Do Call %0 CPGEN lib\%%XFor %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%Xdiff --git a/startYACY.command b/startYACY.commandindex a6f58060c..f1a0b1e91 100755--- a/startYACY.command+++ b/startYACY.command@@ -5,4 +5,4 @@ CLASSPATH=""for N in `ls -1 lib/*.jar`; do CLASSPATH="$CLASSPATH$N:"; donefor N in `ls -1 libx/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done-java -classpath classes:$CLASSPATH -server yacy+java -classpath classes:htroot:$CLASSPATH -server yacydiff --git a/startYACY.sh b/startYACY.shindex e8927e1ed..5b836c9d1 100755--- a/startYACY.sh+++ b/startYACY.sh@@ -14,12 +14,12 @@ elseif [ 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"elsejava -classpath classes:$CLASSPATH yacy- #java -Xms16m -Xmx200m -classpath classes:$CLASSPATH yacy+ #java -Xms16m -Xmx200m -classpath classes:htroot:$CLASSPATH yacyfifidiff --git a/startYACY_noconsole.bat b/startYACY_noconsole.batindex 909c91640..91c017308 100644--- a/startYACY_noconsole.bat+++ b/startYACY_noconsole.bat@@ -2,7 +2,7 @@If %1.==CPGEN. GoTo :CPGENRem Generating the proper classpath unsing loops and labels-Set CLASSPATH=classes+Set CLASSPATH=classes;htrootFor %%X in (lib/*.jar) Do Call %0 CPGEN lib\%%XFor %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%Xdiff --git a/stopYACY.bat b/stopYACY.batindex 1f5f287a1..72a636bee 100644--- a/stopYACY.bat+++ b/stopYACY.bat@@ -2,7 +2,7 @@If %1.==CPGEN. GoTo :CPGENRem Generating the proper classpath unsing loops and labels-Set CLASSPATH=classes+Set CLASSPATH=classes;htrootFor %%X in (lib/*.jar) Do Call %0 CPGEN lib\%%XFor %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%Xdiff --git a/stopYACY.command b/stopYACY.commandindex 7b19fa202..833874a57 100755--- a/stopYACY.command+++ b/stopYACY.command@@ -5,4 +5,4 @@ CLASSPATH=""for N in `ls -1 lib/*.jar`; do CLASSPATH="$CLASSPATH$N:"; donefor N in `ls -1 libx/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done-java -classpath classes:$CLASSPATH yacy -shutdown+java -classpath classes:htroot:$CLASSPATH yacy -shutdowndiff --git a/stopYACY.sh b/stopYACY.shindex 7fafb75fe..bd65bd1d4 100755--- a/stopYACY.sh+++ b/stopYACY.sh@@ -6,6 +6,6 @@ CLASSPATH=""for N in `ls -1 lib/*.jar`; do CLASSPATH="$CLASSPATH$N:"; donefor N in `ls -1 libx/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done-java -classpath classes:$CLASSPATH yacy -shutdown+java -classpath classes:htroot:$CLASSPATH yacy -shutdownecho "please wait until the YaCy daemon process terminates"echo "you can monitor this with 'tail -f yacy.log' and 'fuser yacy.log'"\ No newline at end of file