yacy_search_server/stopYACY.bat
lotus 8ba0c9d1e9 cosmetics
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5326 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-11-10 15:35:05 +00:00

22 lines
519 B
Batchfile

@Echo Off
title YaCy
If %1.==CPGEN. GoTo :CPGEN
Rem Generating the proper classpath unsing loops and labels
Set CLASSPATH=classes;htroot
For %%X in (lib/*.jar) Do Call %0 CPGEN lib\%%X
For %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%X
Rem Stopping yacy
Echo Generated Classpath:%CLASSPATH%
java -classpath %CLASSPATH% yacy -shutdown
GoTo :END
Rem This target is used to concatenate the classpath parts
:CPGEN
Set CLASSPATH=%CLASSPATH%;%2
Rem Target needed to jump to the end of the file
:END