Changeset 29154

Show
Ignore:
Timestamp:
17.07.2014 18:27:08 (5 years ago)
Author:
ak19
Message:

Changes to get winMake.bat to compile lucene_gs, before further improgvements to this windows makefile

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/indexers/lucene-gs/winMake.bat

    r29148 r29154  
    1414set JAR="%JAVA_HOME%\bin\jar" 
    1515 
    16 set JAVACOPTIONS=-deprecation -g -O 
     16::set JAVACOPTIONS=-deprecation -g -O 
     17set JAVACOPTIONS= 
    1718 
    1819:: 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.jar 
    20 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.jar 
     20set 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 
     21rem 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 
    2122 
    2223set LUCENE3_JAR=.\lib\lucene-core-3.3.0.jar 
     
    5152       goto done 
    5253 
    53  
     54rem %UNJAR_LUCENE4_JAR% 
    5455:all 
    5556    if not exist %JAVACLASSDIR4% mkdir %JAVACLASSDIR4% 
    5657    echo Compiling Greenstone Lucene version 4.x Java classes ... 
    5758    %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 .. 
    6160    %JAR% cf LuceneWrapper4.jar -C %JAVACLASSDIR4% . 
    6261    goto done