diff options
| author | reger <reger18@arcor.de> | 2013-02-17 03:26:46 +0100 |
|---|---|---|
| committer | reger <reger18@arcor.de> | 2013-02-17 03:26:46 +0100 |
| commit | 1951ba61ae7f59981a6b9e7546552b6b233b4cc8 (patch) | |
| tree | edb135a1eb3bbf786a6e2503aeded4b22375d5d1 /stopYACY.bat | |
| parent | 594ed63f2a886c5d372a67d1c45410c15575fb91 (diff) | |
remove CPGEN from Windows batch files
(classpath for all needed libraries is defined in manifest of yacycore.jar)
Diffstat (limited to 'stopYACY.bat')
| -rw-r--r-- | stopYACY.bat | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/stopYACY.bat b/stopYACY.bat index 6ecbd9311..7fa73b5da 100644 --- a/stopYACY.bat +++ b/stopYACY.bat @@ -1,21 +1,10 @@ -@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% net.yacy.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
+@Echo Off +title YaCy + +Rem Setting the classpath +Set CLASSPATH=classes;lib\yacycore.jar;htroot + +Rem Stopping yacy +Echo Generated Classpath:%CLASSPATH% +java -classpath %CLASSPATH% net.yacy.yacy -shutdown + |
