2005-05-18 09:35:47 +02:00
|
|
|
@Echo Off
|
2008-11-10 16:35:05 +01:00
|
|
|
title YaCy
|
2005-05-18 09:35:47 +02:00
|
|
|
If %1.==CPGEN. GoTo :CPGEN
|
2005-04-07 21:19:42 +02:00
|
|
|
|
2005-05-18 09:35:47 +02:00
|
|
|
Rem Generating the proper classpath unsing loops and labels
|
2005-06-10 08:18:55 +02:00
|
|
|
Set CLASSPATH=classes;htroot
|
2005-05-18 09:35:47 +02:00
|
|
|
For %%X in (lib/*.jar) Do Call %0 CPGEN lib\%%X
|
|
|
|
For %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%X
|
|
|
|
|
2008-11-10 16:35:05 +01:00
|
|
|
Rem Stopping yacy
|
2005-05-18 09:35:47 +02:00
|
|
|
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
|