1 | @echo off
|
---|
2 | set GLILANG=en
|
---|
3 |
|
---|
4 |
|
---|
5 | :: -------- Clean up the Greenstone Librarian Interface directory --------
|
---|
6 |
|
---|
7 | :: This script must be run from within the directory in which it lives
|
---|
8 | if exist clean.bat goto cleanGLI
|
---|
9 | if "%GLILANG%" == "en" echo This script must be run from the directory in which it resides.
|
---|
10 | if "%GLILANG%" == "fr" echo Ce script doit tre excut
|
---|
11 | partir du rpertoire dans lequel il se trouve.
|
---|
12 | goto exit
|
---|
13 |
|
---|
14 |
|
---|
15 | :cleanGLI
|
---|
16 | :: ---- Remove class files ----
|
---|
17 | echo.
|
---|
18 | if "%GLILANG%" == "en" echo Removing the Greenstone Librarian Interface class files...
|
---|
19 | if "%GLILANG%" == "fr" echo Suppression des fichiers de classe de Greenstone Librarian Interface
|
---|
20 |
|
---|
21 | cd classes\org\greenstone\gatherer
|
---|
22 | if exist "*.class" del "*.class"
|
---|
23 | if exist "cdm\*.class" del "cdm\*.class"
|
---|
24 | if exist "checklist\*.class" del "checklist\*.class"
|
---|
25 | if exist "collection\*.class" del "collection\*.class"
|
---|
26 | if exist "file\*.class" del "file\*.class"
|
---|
27 | if exist "gui\*.class" del "gui\*.class"
|
---|
28 | if exist "help\*.class" del "help\*.class"
|
---|
29 | if exist "mem\*.class" del "mem\*.class"
|
---|
30 | if exist "msm\*.class" del "msm\*.class"
|
---|
31 | if exist "sarm\*.class" del "sarm\*.class"
|
---|
32 | if exist "shell\*.class" del "shell\*.class"
|
---|
33 | if exist "undo\*.class" del "undo\*.class"
|
---|
34 | if exist "util\*.class" del "util\*.class"
|
---|
35 | if exist "valuetree\*.class" del "valuetree\*.class"
|
---|
36 | cd ..\..\..\..
|
---|
37 |
|
---|
38 | if "%GLILANG%" == "en" echo Done!
|
---|
39 | if "%GLILANG%" == "fr" echo Termin!
|
---|
40 |
|
---|
41 | :exit
|
---|
42 | echo.
|
---|
43 | pause
|
---|