root/main/trunk/greenstone2/build-src/src/java/org/nzdl/gsdl/winMake.bat @ 21450

Revision 21450, 0.9 KB (checked in by ak19, 10 years ago)

Dr Bainbridge removed a superfluous line.

  • Property svn:executable set to *
Line 
1@echo off
2
3set CLASSES=ApplyXSLT.class ApplyXSLTUtil.class
4
5rem ---- Name and location of java programs ----
6set JAVAC="%JAVA_HOME%\bin\javac"
7set JAVA="%JAVA_HOME%\bin\java"
8set JAR="%JAVA_HOME%\bin\jar"
9
10set JAVACOPTIONS=-deprecation -g -O
11
12if ""%1"" == """" goto all
13if ""%1"" == ""all"" goto all
14if ""%1"" == ""install"" goto install
15if ""%1"" == ""clean"" goto clean
16
17:unknown
18    echo Error: Unrecognized argument %1.
19    goto done
20
21:all
22    echo Compiling ApplyXSLT classes ...
23    %JAVAC% %JAVACOPTIONS% -d ..\..\.. -classpath ..\..\.. *.java
24    %JAR% cvf ApplyXSLT.jar -C ..\..\..  org\nzdl\gsdl\ApplyXSLT.class -C ..\..\.. org\nzdl\gsdl\ApplyXSLTUtil.class
25    goto done
26
27:install
28    goto done
29
30:clean
31    echo Cleaning up ApplyXSLT ...
32        if exist ApplyXSLT.jar del ApplyXSLT.jar
33        if exist ApplyXSLT.class del ApplyXSLT.class
34        if exist ApplyXSLTUtil.class del ApplyXSLTUtil.class
35    goto done
36
37:done
38
Note: See TracBrowser for help on using the browser.