Changeset 4947
- Timestamp:
- 2003-07-16T13:58:56+12:00 (21 years ago)
- Location:
- trunk/gli
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/makegli.bat
r4918 r4947 1 1 @echo off 2 3 REM Check that javac exists 4 javac 2> nul 5 if not errorlevel 3 goto javacExists 6 7 echo Failed to locate Javac. You must install a Java Software Development Kit 8 echo (version 1.4 or greater) before compiling the Greenstone Librarian Interface. 9 goto End 10 11 :javacExists 12 13 REM Check that the version of javac is new enough (1.4.0 or higher) to compile the GLI 14 javac -target 1.4 2> nul 15 if not errorlevel 1 goto javacOK 16 17 echo The version of the Java Software Development Kit you have installed is too 18 echo old to compile the Greenstone Librarian Interface. Please install a new version 19 echo of the Java SDK (version 1.4 or newer) and rerun this script. 20 goto End 21 22 :javacOK 2 23 3 24 if "%1" == "" goto CompileAll … … 5 26 :CompileDependant 6 27 28 REM If a file has been specified at the command-line, just compile that file 7 29 echo Compiling %1 and dependant classes 8 9 30 javac -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 10 11 31 goto End 12 32 13 33 :CompileAll 14 34 15 echo Compiling GLI... 35 REM Otherwise compile the lot... 36 echo Compiling the Greenstone Librarian Interface... 16 37 javac -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 17 38 javac -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/cdm/*.java … … 33 54 javac -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/util/*.java 34 55 javac -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 56 echo Done! 35 57 36 58 :End 37 echo Done.38 -
trunk/gli/makegli.sh
r4935 r4947 18 18 fi 19 19 20 # If a command-line argument has been specified, just compile that file20 # If a file has been specified at the command-line, just compile that file 21 21 if [ ! "x$*" = "x" ] ; then 22 22 echo "Compiling $*" … … 26 26 27 27 # Otherwise compile the lot... 28 echo "Compiling The Greenstone Librarian Interface..."28 echo "Compiling the Greenstone Librarian Interface..." 29 29 javac -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 30 30 javac -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/cdm/*.java
Note:
See TracChangeset
for help on using the changeset viewer.