summaryrefslogtreecommitdiff
path: root/stopYACY.sh
diff options
context:
space:
mode:
authortheli <theli@6c8d7289-2bf4-0310-a012-ef5d649a1542>2005-05-03 09:47:56 +0000
committertheli <theli@6c8d7289-2bf4-0310-a012-ef5d649a1542>2005-05-03 09:47:56 +0000
commit351c86d5d9054fc3fed7338f05959bf0e86a7917 (patch)
tree8224d8cbe1c13732f59a6ac59a008c9512fa6027 /stopYACY.sh
parent1a4ad5a0acd7ed6c866fb9f1e72cdda2532f0ec3 (diff)
*) Migration of optional Content Parser integration
- each additional parser must be in a subpackage of plasma.parser - each parser must have its own ant build file (which will be called automatically from the main build file) - Calling the main build file results in building a separate zip file for each optional parser. This zip file includes: + sources of the Parser.java + compiled classes of the Parser.java + needed additional libs (libx) - To install an additional parser the user simply needs to extract the zip file listed above into his/her yacy directory. - The configuration (enabling/disabling) of a parser can be done via the webinterface (currently the settings dialoge) and is done "on-the-fly". The installation can not be done "on-the-fly" at the moment because of classpath issues. - The classpath of the linux startup/stop scripts is generated automatically now (including all libraries from lib and libx). *) Bugfix: File Extension was not calculated correctly by the crawler e.g.: file extension was accidentally: .php?param=value Corrected. *) Adding additional parser for parsing of rss/atom feeds - added needed libs to do this. TODO: - automatic building classpath for windows startup scripts git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@78 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'stopYACY.sh')
-rwxr-xr-xstopYACY.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/stopYACY.sh b/stopYACY.sh
index b20c3519a..7fafb75fe 100755
--- a/stopYACY.sh
+++ b/stopYACY.sh
@@ -1,5 +1,11 @@
#!/bin/sh
cd `dirname $0`
-java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar:libx/PDFBox-0.7.1.jar:libx/log4j-1.2.9.jar:libx/tm-extractors-0.4.jar yacy -shutdown
+
+# 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
+
+java -classpath classes:$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'" \ No newline at end of file