Changeset 29154 for main/trunk/greenstone2
- Timestamp:
- 2014-07-17T18:27:08+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/indexers/lucene-gs/winMake.bat
r29148 r29154 14 14 set JAR="%JAVA_HOME%\bin\jar" 15 15 16 set JAVACOPTIONS=-deprecation -g -O 16 ::set JAVACOPTIONS=-deprecation -g -O 17 set JAVACOPTIONS= 17 18 18 19 :: Note that both jar file lists need to be modified simultaneously when the jar dependencies are changed 19 set LUCENE4_JAR=.\lib\lucene -core-4.7.2.jar;.\lib\lucene-analyzers-common-4.7.2.jar;.\lib\lucene-analyzers-kuromoji-4.7.2.jar;.\lib\lucene-queryparser-4.7.2.jar20 set UNJAR_LUCENE4_JAR=%JAR% xf ..\lib\lucene-core-4.7.2.jar && %JAR% xf ..\lib\lucene-lucene-analyzers-common-4.7.2.jar && %JAR% xf ..\lib\lucene-analyzers-kuromoji-4.7.2.jar %JAR% xf ..\lib\lucene-queryparser-4.7.2.jar20 set LUCENE4_JAR=.\lib\lucene4\lucene-core-4.7.2.jar;.\lib\lucene4\lucene-analyzers-common-4.7.2.jar;.\lib\lucene4\lucene-analyzers-kuromoji-4.7.2.jar;.\lib\lucene4\lucene-queryparser-4.7.2.jar 21 rem set UNJAR_LUCENE4_JAR=%JAR% xf ..\lib\lucene4\lucene-core-4.7.2.jar && %JAR% xf ..\lib\lucene4\lucene-analyzers-common-4.7.2.jar && %JAR% xf ..\lib\lucene4\lucene-analyzers-kuromoji-4.7.2.jar %JAR% xf ..\lib\lucene4\lucene-queryparser-4.7.2.jar 21 22 22 23 set LUCENE3_JAR=.\lib\lucene-core-3.3.0.jar … … 51 52 goto done 52 53 53 54 rem %UNJAR_LUCENE4_JAR% 54 55 :all 55 56 if not exist %JAVACLASSDIR4% mkdir %JAVACLASSDIR4% 56 57 echo Compiling Greenstone Lucene version 4.x Java classes ... 57 58 %JAVAC% -d %JAVACLASSDIR4% -classpath %MYCLASSPATH4% %JAVACOPTIONS% -sourcepath src src\org\greenstone\LuceneWrapper4\*.java 58 cd %JAVACLASSDIR4% 59 %UNJAR_LUCENE4_JAR% 60 cd .. 59 cd %JAVACLASSDIR4% && %JAR% xf ..\lib\lucene4\lucene-core-4.7.2.jar && %JAR% xf ..\lib\lucene4\lucene-analyzers-common-4.7.2.jar && %JAR% xf ..\lib\lucene4\lucene-analyzers-kuromoji-4.7.2.jar %JAR% xf ..\lib\lucene4\lucene-queryparser-4.7.2.jar && cd .. 61 60 %JAR% cf LuceneWrapper4.jar -C %JAVACLASSDIR4% . 62 61 goto done
Note:
See TracChangeset
for help on using the changeset viewer.