Changeset 29215

Show
Ignore:
Timestamp:
18.08.2014 14:26:31 (5 years ago)
Author:
ak19
Message:

Correction to changes in previous commit. The first time around, the META-INF folder does not yet exist. Tested.

Files:
1 modified

Legend:

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

    r29210 r29215  
    5252       goto done 
    5353 
     54        
     55rem http://stackoverflow.com/questions/138981/how-do-i-test-if-a-file-is-a-directory-in-a-batch-script 
    5456:all 
    5557    if not exist %JAVACLASSDIR4% mkdir %JAVACLASSDIR4% 
    5658    echo Compiling Greenstone Lucene version 4.x Java classes ... 
    5759    %JAVAC% -d %JAVACLASSDIR4% -classpath %MYCLASSPATH4% %JAVACOPTIONS% -sourcepath src src\org\greenstone\LuceneWrapper4\*.java 
     60    pushd %JAVACLASSDIR4%  
     61    for %%G in (..\lib\lucene4\*%LUCENE_VER%.jar) do %JAR% xf %%G 
     62    popd     
    5863    copy LICENSE.txt %JAVACLASSDIR4%\META-INF\LICENSE-LUCENE_WRAPPER.txt 
    5964    copy LICENSE-GPLv2.txt %JAVACLASSDIR4%\META-INF\. 
    6065    copy LICENSE-GPLv3.txt %JAVACLASSDIR4%\META-INF\. 
    61     pushd %JAVACLASSDIR4%  
    62     for %%G in (..\lib\lucene4\*%LUCENE_VER%.jar) do %JAR% xf %%G 
    63     popd 
    6466    %JAR% cf LuceneWrapper4.jar -C %JAVACLASSDIR4% .     
    6567    goto done