From 351c86d5d9054fc3fed7338f05959bf0e86a7917 Mon Sep 17 00:00:00 2001 From: theli Date: Tue, 3 May 2005 09:47:56 +0000 Subject: *) 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 --- stopYACY.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'stopYACY.sh') 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 -- cgit v1.2.3