Changeset 6747
- Timestamp:
- 2004-02-09T15:51:07+13:00 (20 years ago)
- Location:
- trunk/gli
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/clean.bat
r5824 r6747 1 1 @echo off 2 set GLILANG=en 2 3 3 4 … … 6 7 :: This script must be run from within the directory in which it lives 7 8 if exist clean.bat goto cleanGLI 8 echo This script must be run from the directory in which it resides. 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. 9 12 goto exit 10 13 … … 13 16 :: ---- Remove class files ---- 14 17 echo. 15 echo Removing the Greenstone Librarian Interface class files... 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 16 20 17 21 cd classes\org\greenstone\gatherer … … 32 36 cd ..\..\..\.. 33 37 34 echo Done! 38 if "%GLILANG%" == "en" echo Done! 39 if "%GLILANG%" == "fr" echo Termin! 35 40 36 41 :exit -
trunk/gli/document.bat
r6467 r6747 1 1 @echo off 2 set GLILANG=en 2 3 3 4 … … 6 7 :: This script must be run from within the directory in which it lives 7 8 if exist document.bat goto findJavadoc 8 echo This script must be run from the directory in which it resides. 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. 9 12 goto exit 10 13 … … 48 51 :testJavadoc 49 52 :: Check that a Javadoc executable has been found 50 echo Checking Javadoc: %JAVADOCPATH% 53 if "%GLILANG%" == "en" echo Checking Javadoc: %JAVADOCPATH% 54 if "%GLILANG%" == "fr" echo Vrification de Javadoc: %JAVADOCPATH% 51 55 if exist "%JAVADOCPATH%\javadoc.exe" goto docGLI 52 56 53 57 :noJavadoc 54 58 echo. 55 echo Failed to locate an appropriate version of Javadoc. You must install a 56 echo Java Development Kit (version 1.4 or greater) before generating the 57 echo documentation for the Greenstone Librarian Interface. 59 if "%GLILANG%" == "en" echo Failed to locate an appropriate version of Javadoc. You must install a 60 if "%GLILANG%" == "en" echo Java Development Kit (version 1.4 or greater) before generating the 61 if "%GLILANG%" == "en" echo documentation for the Greenstone Librarian Interface. 62 63 if "%GLILANG%" == "fr" echo Une version approprie de Javadoc n'a pas pu tre localise. Vous devez 64 if "%GLILANG%" == "fr" echo installer un Kit de Dveloppement Java (version 1.4 ou suprieure) avant 65 if "%GLILANG%" == "fr" echo de produire la documentation de Greenstone Librarian Interface. 58 66 goto exit 59 67 … … 62 70 :: ---- Document the GLI ---- 63 71 echo. 64 echo Generating documentation for the Greenstone Librarian Interface... 72 if "%GLILANG%" == "en" echo Generating documentation for the Greenstone Librarian Interface... 73 if "%GLILANG%" == "fr" echo Production de documentation pour la Greenstone Librarian Interface 65 74 66 75 "%JAVADOCPATH%\javadoc.exe" -classpath classes/ -sourcepath src/ -source 1.4 -author -breakiterator -d docs/ -group "Gatherer v2.3" org.greenstone.gatherer:org.greenstone.gatherer.checklist:org.greenstone.gatherer.collection:org.greenstone.gatherer.file:org.greenstone.gatherer.gui:org.greenstone.gatherer.gui.browser:org.greenstone.gatherer.gui.combobox:org.greenstone.gatherer.gui.messages:org.greenstone.gatherer.gui.metaaudit:org.greenstone.gatherer.gui.table:org.greenstone.gatherer.gui.tree:org.greenstone.gatherer.help:org.greenstone.gatherer.sarm:org.greenstone.gatherer.shell:org.greenstone.gatherer.util -group "Collection Design Module" org.greenstone.gatherer.cdm:org.greenstone.gatherer.cdm.custom -group "Metadata Set Manager" org.greenstone.gatherer.msm:org.greenstone.gatherer.msm.parsers -group "Value Tree Controls" org.greenstone.gatherer.valuetree -private -splitindex -version org.greenstone.gatherer org.greenstone.gatherer.checklist org.greenstone.gatherer.collection org.greenstone.gatherer.file org.greenstone.gatherer.gui org.greenstone.gatherer.gui.browser org.greenstone.gatherer.gui.combobox org.greenstone.gatherer.gui.messages org.greenstone.gatherer.gui.metaaudit org.greenstone.gatherer.gui.table org.greenstone.gatherer.gui.tree org.greenstone.gatherer.help org.greenstone.gatherer.sarm org.greenstone.gatherer.shell org.greenstone.gatherer.util org.greenstone.gatherer.cdm org.greenstone.gatherer.cdm.custom org.greenstone.gatherer.msm org.greenstone.gatherer.msm.parsers org.greenstone.gatherer.valuetree 67 76 68 echo Done! 77 if "%GLILANG%" == "en" echo Done! 78 if "%GLILANG%" == "fr" echo Termin! 69 79 70 80 :exit -
trunk/gli/makegli.bat
r6670 r6747 1 1 @echo off 2 set GLILANG=en 2 3 3 echo.4 echo Greenstone Librarian Interface (GLI)5 echo Copyright (C) 2004, New Zealand Digital Library Project, University Of Waikato6 echo GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt7 echo This is free software, and you are welcome to redistribute it8 echo.9 4 10 5 :: -------- Compile the Greenstone Librarian Interface -------- 11 6 7 echo. 8 if "%GLILANG%" == "en" echo Greenstone Librarian Interface (GLI) 9 if "%GLILANG%" == "en" echo Copyright (C) 2004, New Zealand Digital Library Project, University Of Waikato 10 if "%GLILANG%" == "en" echo GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt 11 if "%GLILANG%" == "en" echo This is free software, and you are welcome to redistribute it 12 13 if "%GLILANG%" == "fr" echo -- Still coming -- 14 echo. 15 12 16 :: This script must be run from within the directory in which it lives 13 17 if exist makegli.bat goto findJavac 14 echo This script must be run from the directory in which it resides. 18 if "%GLILANG%" == "en" echo This script must be run from the directory in which it resides. 19 if "%GLILANG%" == "fr" echo Ce script doit tre excut 20 partir du rpertoire dans lequel il se trouve. 15 21 goto exit 16 22 … … 54 60 :testJavac 55 61 :: Check that a Javac executable has been found 56 echo Checking Javac: %JAVACPATH% 62 if "%GLILANG%" == "en" echo Checking Javac: %JAVACPATH% 63 if "%GLILANG%" == "fr" echo Vrification de Javac: %JAVACPATH% 57 64 if exist "%JAVACPATH%\javac.exe" goto checkVer 58 65 59 66 :noJavac 60 67 echo. 61 echo Failed to locate an appropriate version of Javac. You must install a 62 echo Java Development Kit (version 1.4 or greater) before compiling the 63 echo Greenstone Librarian Interface. 68 if "%GLILANG%" == "en" echo Failed to locate an appropriate version of Javac. You must install a 69 if "%GLILANG%" == "en" echo Java Development Kit (version 1.4 or greater) before compiling the 70 if "%GLILANG%" == "en" echo Greenstone Librarian Interface. 71 72 if "%GLILANG%" == "fr" echo Une version approprie de Javac n'a pas pu tre localise. Vous devez 73 if "%GLILANG%" == "fr" echo installer un Kit de Dveloppement Java (version 1.4 ou suprieure) 74 if "%GLILANG%" == "fr" echo avant de produire la documentation de Greenstone Librarian Interface. 64 75 goto exit 65 76 … … 73 84 del javacchk.tmp 74 85 echo. 75 echo The version of the Java Development Kit you have installed is too old 76 echo to compile the Greenstone Librarian Interface. Please install a new 77 echo version of the Java SDK (version 1.4 or newer) and rerun this script. 86 if "%GLILANG%" == "en" echo The version of the Java Development Kit you have installed is too old 87 if "%GLILANG%" == "en" echo to compile the Greenstone Librarian Interface. Please install a new 88 if "%GLILANG%" == "en" echo version of the Java SDK (version 1.4 or newer) and rerun this script. 89 90 if "%GLILANG%" == "fr" echo La version de Java Development Kit que vous avez installe est trop vieille 91 if "%GLILANG%" == "fr" echo pour compiler Greenstone Librarian Interface. Veuillez installer une nouvelle 92 if "%GLILANG%" == "fr" echo version de Java SDK (version 1.4 ou plus rcente) et redmarrez ce script. 78 93 goto exit 79 94 … … 86 101 if "%1" == "" goto makeAll 87 102 :: If a file has been specified as a command-line argument, just compile that file 88 echo Compiling %1 and dependant classes... 103 if "%GLILANG%" == "en" echo Compiling %1 and dependant classes... 104 if "%GLILANG%" == "fr" echo Compilation de %1 et des classes dpendantes,,, 89 105 90 106 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/calpa.jar;lib/jp.jar;lib/polloxml.jar;lib/qfslib.jar;lib/skinlf.jar;lib/nanoxml.jar %1 91 107 92 echo Done! 108 if "%GLILANG%" == "en" echo Done! 109 if "%GLILANG%" == "fr" echo Termin! 93 110 goto done 94 111 95 112 :makeAll 96 113 :: Otherwise compile the lot... 97 echo Compiling the Greenstone Librarian Interface... 114 if "%GLILANG%" == "en" echo Compiling the Greenstone Librarian Interface... 115 if "%GLILANG%" == "fr" echo Compilation de Greenstone Librarian Interface,,, 98 116 99 117 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/calpa.jar;lib/jp.jar;lib/polloxml.jar;lib/qfslib.jar;lib/skinlf.jar;lib/nanoxml.jar src/org/greenstone/gatherer/*.java … … 115 133 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/calpa.jar;lib/jp.jar;lib/polloxml.jar;lib/qfslib.jar;lib/skinlf.jar;lib/nanoxml.jar src/org/greenstone/gatherer/valuetree/*.java 116 134 117 echo Done! 135 if "%GLILANG%" == "en" echo Done! 136 if "%GLILANG%" == "fr" echo Termin! 118 137 goto done 119 138
Note:
See TracChangeset
for help on using the changeset viewer.