root/main/trunk/gli/clean.bat @ 31726

Revision 25678, 2.1 KB (checked in by davidb, 8 years ago)

Added svn:executable property

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1@echo off
2set 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
8if 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%" == "es" echo Este gui¢n deber  ejecutarse desde el directorio en el que reside.
11    if "%GLILANG%" == "fr" echo Ce script doit ˆtre ex‚cut‚ … partir du r‚pertoire dans lequel il se trouve.
12    if "%GLILANG%" == "ru" echo â®â áªàš¯â €®«Š¥­ ¡ëâì ¢§ïâ š§ €šà¥ªâ®àšš, ¢ ª®â®à®© ®­ à á¯®«®Š¥­
13    goto exit
14
15
16:cleanGLI
17:: ---- Remove class files ----
18echo.
19if "%GLILANG%" == "en" echo Removing the Greenstone Librarian Interface class files...
20if "%GLILANG%" == "es" echo Eliminando los archivos de clase de la Interfaz de la Biblioteca Digital Greenstone...
21if "%GLILANG%" == "fr" echo Suppression des fichiers de classe de Greenstone Librarian Interface
22if "%GLILANG%" == "ru" echo “€ «¥­š¥ ä ©«®¢ ª« áá  ¡š¡«š®â¥ç­®£® š­â¥àä¥©á  Greenstone
23
24if not exist classes\org\greenstone\gatherer goto done
25
26cd classes\org\greenstone\gatherer
27if exist "*.class" del "*.class"
28if exist "cdm\*.class" del "cdm\*.class"
29if exist "collection\*.class" del "collection\*.class"
30if exist "download\*.class" del "download\*.class"
31if exist "feedback\*.class" del "feedback\*.class"
32if exist "file\*.class" del "file\*.class"
33if exist "gems\*.class" del "gems\*.class"
34if exist "greenstone\*.class" del "greenstone\*.class"
35if exist "greenstone3\*.class" del "greenstone3\*.class"
36if exist "gui\*.class" del "gui\*.class"
37if exist "gui\metaaudit\*.class" del "gui\metaaudit\*.class"
38if exist "gui\tree\*.class" del "gui\tree\*.class"
39if exist "metadata\*.class" del "metadata\*.class"
40if exist "remote\*.class" del "remote\*.class"
41if exist "shell\*.class" del "shell\*.class"
42if exist "util\*.class" del "util\*.class"
43cd ..\..\..\..
44
45:done
46if "%GLILANG%" == "en" echo Done!
47if "%GLILANG%" == "es" echo ­Hecho!
48if "%GLILANG%" == "fr" echo Termin‚!
49if "%GLILANG%" == "ru" echo ‚믮«­¥­®!
50
51:exit
52echo.
Note: See TracBrowser for help on using the browser.