adopted makerelease and start/stop-scripts fro new libs

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@52 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 20 years ago
parent 7fb645b0ab
commit 2d9fc71af1

@ -36,6 +36,8 @@ and manager of the meta-search-engine <a href="http://www.metager.de">metaGer</a
<li><b>Timo Leise</b> suggested and implemented an extension to the blacklist feature: part-of-domain matching.</li>
<li><b>Martin Schwarze</b> wrote a <a href="http://suma-ev.de/downloads/yacy-haz.pdf">artikel/press release "Jedermanns Suchmaschine" about the YACY Projekt</a>; published in the <a href="http://www.haz.de">Hannoversche Allgemeine Zeitung</a>.</li>
<li><b>Matthias Kempka</b> provided a linux-init start/stop - script</li>
<li><b>Martin Thelian</b> made system-wide performance enhancement by introducing thread pools. He also provided a plug-in system for external text parser and integrated a pdf and word document parser library.</li>
<li><b>Roland Ramthun</b> owns and administrates the <a href="http://www.yacy-forum.de/">German YaCy-Forum</a>. He also cares for correct spelling in the YaCy interface.</li>
</ul>
<p>Further volunteers are very welcome.

@ -45,18 +45,19 @@
# Contributions and changes to the program code must be marked as such.
# define variables
version='0.365'
version='0.366'
datestr=`date +%Y%m%d`
#release='yacy_v'$version'_'$datestr
release='yacy_dev_v'$version'_'$datestr
target='RELEASE'
classes='classes'
lib='lib'
libx='libx'
source='source'
doc='doc'
data='DATA'
mainclass='yacy.java'
classpath='$classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar'
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'
mkdir $release
@ -115,6 +116,7 @@ javac -classpath $classpath -sourcepath $source -d $classes -g $source/de/anomic
javac -classpath $classpath -sourcepath $source -d $classes -g $source/de/anomic/http/*.java
javac -classpath $classpath -sourcepath $source -d $classes -g $source/de/anomic/kelondro/*.java
javac -classpath $classpath -sourcepath $source -d $classes -g $source/de/anomic/data/*.java
javac -classpath $classpath -sourcepath $source -d $classes -g $source/de/anomic/plasma/parser/*.java
javac -classpath $classpath -sourcepath $source -d $classes -g $source/de/anomic/plasma/*.java
javac -classpath $classpath -sourcepath $source -d $classes -g $source/de/anomic/yacy/*.java
javac -classpath $classpath -sourcepath $source -d $classes -g $source/$mainclass
@ -133,6 +135,8 @@ cp -R $classes/* $release/$classes/
# copy libs
mkdir $release/$lib
cp -R $lib/* $release/$lib/
mkdir $release/$libx
cp -R $libx/* $release/$libx/
# copy configuration files
cp yacy.init $release
@ -170,6 +174,7 @@ cp $doc/grafics/*.jpg $release/$doc/grafics/
# copy source code
mkdir $release/$source
cp -R $source/* $release/$source/
rm -fR `find $release/$source/ | grep svn`
# copy server pages
mkdir $release/htroot
@ -220,6 +225,7 @@ chmod 644 $release/$source/*.java
chmod 755 $release/$source/de
chmod 755 $release/$source/de/anomic
chmod 755 $release/$source/de/anomic/*
chmod 755 $release/$source/de/anomic/plasma/parser
chmod 644 $release/$source/de/anomic/kelondro/*.java
chmod 644 $release/$source/de/anomic/tools/*.java
chmod 644 $release/$source/de/anomic/data/*.java
@ -227,6 +233,7 @@ chmod 644 $release/$source/de/anomic/htmlFilter/*.java
chmod 644 $release/$source/de/anomic/http/*.java
chmod 644 $release/$source/de/anomic/net/*.java
chmod 644 $release/$source/de/anomic/plasma/*.java
chmod 644 $release/$source/de/anomic/plasma/parser/*.java
chmod 644 $release/$source/de/anomic/server/*.java
chmod 644 $release/$source/de/anomic/yacy/*.java
chmod 755 $release/$classes
@ -245,6 +252,8 @@ chmod 644 $release/$classes/de/anomic/server/*.class
chmod 644 $release/$classes/de/anomic/yacy/*.class
chmod 755 $release/$lib
chmod 644 $release/$lib/*
chmod 755 $release/$libx
chmod 644 $release/$libx/*
chmod 755 $release/$doc
chmod 644 $release/$doc/*
chmod 755 $release/$doc/grafics

@ -1 +1 @@
@java -classpath classes;lib/commons-collections.jar;lib/commons-pool-1.2.jar yacy
@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

@ -1,2 +1,2 @@
cd `dirname $0`
java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar -server yacy
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 -server yacy

@ -8,7 +8,7 @@ else
cd `dirname $0`
if [ x$1 != x-d ]
then
nohup java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy >> yacy.log &
nohup 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 >> 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"

@ -1,2 +1,2 @@
@java -classpath classes;lib/commons-collections.jar;lib/commons-pool-1.2.jar yacy -shutdown
@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

@ -1,2 +1,2 @@
cd `dirname $0`
java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy -shutdown
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

@ -1,5 +1,5 @@
#!/bin/sh
cd `dirname $0`
java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy -shutdown
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
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