Last change
on this file since 20872 was 20872, checked in by kjdon, 14 years ago |
adding makefiles for applyxslt
|
-
Property svn:executable
set to
*
|
File size:
754 bytes
|
Rev | Line | |
---|
[20872] | 1 | @echo off
|
---|
| 2 |
|
---|
| 3 | set CLASSES=ApplyXSLT.class ApplyXSLTUtil.class
|
---|
| 4 |
|
---|
| 5 | rem ---- Name and location of java programs ----
|
---|
| 6 | set JAVAC="%JAVA_HOME%\bin\javac"
|
---|
| 7 | set JAVA="%JAVA_HOME%\bin\java"
|
---|
| 8 | set JAR="%JAVA_HOME%\bin\jar"
|
---|
| 9 |
|
---|
| 10 | set JAVACOPTIONS=-target 1.1 -deprecation -g -O
|
---|
| 11 |
|
---|
| 12 | if ""%1"" == """" goto all
|
---|
| 13 | if ""%1"" == ""all"" goto all
|
---|
| 14 | if ""%1"" == ""install"" goto install
|
---|
| 15 | if ""%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% cf ApplyXSLT.jar org
|
---|
| 25 | goto done
|
---|
| 26 |
|
---|
| 27 | :install
|
---|
| 28 | goto done
|
---|
| 29 |
|
---|
| 30 | :clean
|
---|
| 31 | echo Cleaning up Greenstone Lucene ...
|
---|
| 32 | if exist org rmdir /S /Q org
|
---|
| 33 | if exist ApplyXSLT.jar del ApplyXSLT.jar
|
---|
| 34 | goto done
|
---|
| 35 |
|
---|
| 36 | :done
|
---|
| 37 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.