*) added new lib dir to classpath.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@29 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
(no author) 20 years ago
parent a1d3e1b896
commit e2a884031c

@ -1 +1 @@
@java -classpath classes yacy @java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy

@ -1,2 +1,2 @@
cd `dirname $0` cd `dirname $0`
java -classpath classes -server yacy java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar -server yacy

@ -8,11 +8,11 @@ else
cd `dirname $0` cd `dirname $0`
if [ x$1 != x-d ] if [ x$1 != x-d ]
then then
nohup java -classpath classes yacy >> yacy.log & nohup java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy >> yacy.log &
echo "YaCy started as daemon process. View it's activity in 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 stop YaCy, please execute stopYACY.sh and wait some seconds"
echo "To administrate YaCy, start your web browser and open http://localhost:8080" echo "To administrate YaCy, start your web browser and open http://localhost:8080"
else else
java -classpath classes yacy java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy
fi fi
fi fi

@ -5,5 +5,5 @@ REM Script contributed by Roland Ramthun.
REM This script starts YaCy without any visible window and should work on all Windows-Operating-Systems which know the "start" command. REM This script starts YaCy without any visible window and should work on all Windows-Operating-Systems which know the "start" command.
REM You could verify this by typing "HELP" into cmd.exe, which lists all commands supported by your specific OS. REM You could verify this by typing "HELP" into cmd.exe, which lists all commands supported by your specific OS.
start /B javaw -classpath classes yacy start /B javaw -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy
exit exit

@ -1,2 +1,2 @@
@javaw -classpath classes yacy @javaw -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy
@echo You can close the console safely @echo You can close the console safely

@ -1,2 +1,2 @@
@java -classpath classes yacy -shutdown @java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy -shutdown

@ -1,2 +1,2 @@
cd `dirname $0` cd `dirname $0`
java -classpath classes yacy -shutdown java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy -shutdown

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd `dirname $0` cd `dirname $0`
java -classpath classes yacy -shutdown java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy -shutdown
echo "please wait until the YaCy daemon process terminates" echo "please wait until the YaCy daemon process terminates"
echo "you can monitor this with 'tail -f yacy.log' and 'fuser yacy.log'" echo "you can monitor this with 'tail -f yacy.log' and 'fuser yacy.log'"
Loading…
Cancel
Save