mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
0211c4f297
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@494 6c8d7289-2bf4-0310-a012-ef5d649a1542
20 lines
495 B
Batchfile
20 lines
495 B
Batchfile
@Echo Off
|
|
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 %%X
|
|
For %%X in (libx\*.jar) Do Call %0 CPGEN %%X
|
|
|
|
Rem Starting 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 |