Ignore:
Timestamp:
07/16/14 21:04:34 (6 years ago)
Author:
ak19
Message:

Part of port from lucene3.3.0 to lucene4.7.2. Solr related. Updating webapps/solr.war file from 3.3 to 4.7.2. Updating build.xml file, and the two text files, one listing the source files and the other listing the jar files. Adding new contexts folder for solr4.7.2. Updated test folder with the correct classpath for solr 4.7.2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/build.xml

    r28266 r29139  
    1010  <property name="web.home" value="${basedir}/../../web"/>
    1111  <property name="localsite.collectdir" value="${web.home}/sites/localsite/collect"/>
    12  <property name="web.classesdir" value="${web.home}/WEB-INF/classes"/>
     12  <property name="web.classesdir" value="${web.home}/WEB-INF/classes"/>
    1313  <property name="web.libdir" value="${web.home}/WEB-INF/lib"/> 
    1414  <property name="web.extdir" value="${web.home}/ext/solr"/>
     
    1818    <pathelement location="${web.libdir}/gsdl3.jar"/>
    1919    <pathelement location="${web.libdir}/gutil.jar"/>
    20     <pathelement location="${web.libdir}/LuceneWrapper3.jar"/>
     20    <pathelement location="${web.libdir}/LuceneWrapper4.jar"/>
    2121    <pathelement location="${web.libdir}/gson-1.7.1.jar"/>
    2222    <!-- local jar files -->
     
    3030    they can then be reused for the add-service and delete-service targets. -->
    3131  <property name="jars"
    32         value="apache-solr-core-3.3.0.jar
    33         apache-solr-solrj-3.3.0.jar
    34         lucene-spatial-3.3.0.jar
    35         lucene-spellchecker-3.3.0.jar
    36         lucene-analyzers-3.3.0.jar
    37         lucene-highlighter-3.3.0.jar
    38         commons-io-1.4.jar
     32        value="solr-core-4.7.2.jar
     33        solr-solrj-4.7.2.jar
     34        lucene-core-4.7.2.jar
     35        lucene-analyzers-common-4.7.2.jar
     36        lucene-analyzers-kuromoji-4.7.2.jar
     37        lucene-analyzers-phonetic-4.7.2.jar
     38        lucene-grouping-4.7.2.jar
     39        lucene-highlighter-4.7.2.jar
     40        lucene-queries-4.7.2.jar
     41        lucene-queryparser-4.7.2.jar
     42        lucene-memory-4.7.2.jar
     43        lucene-misc-4.7.2.jar
     44        lucene-spatial-4.7.2.jar
     45        lucene-suggest-4.7.2.jar
     46        httpclient-4.3.1.jar
     47        httpcore-4.3.jar
     48        httpmime-4.3.1.jar
    3949        commons-fileupload-1.2.1.jar
     50        commons-io-2.1.jar
     51        commons-lang-2.6.jar
    4052        velocity-1.6.1.jar
    41         log4j-over-slf4j-1.6.1.jar
    42         slf4j-api-1.6.1.jar
    43         slf4j-jdk14-1.6.1.jar"/>
    44  
     53        log4j-over-slf4j-1.6.6.jar
     54        slf4j-api-1.6.6.jar
     55        slf4j-jdk14-1.6.6.jar
     56        spatial4j-0.4.1.jar
     57        zookeeper-3.4.5.jar
     58        guava 14.0.1"/>
     59<!--        jcl-over-slf4j-1.6.6.jar
     60        jul-to-slf4j-1.6.6.jar
     61        log4j-1.2.16.jar
     62        wstx-asl-3.2.7.jar
     63-->
     64<!--
     65   lucene-spellchecker-3.3.0.jar replaced with lucene-suggest-4.7.2.jar, since both contain packages org/.../spell and org/.../suggest
     66   
     67   commons-fileupload-1.2.1.jar - in solr war file
     68   velocity-1.6.1.jar
     69   log4j-over-slf4j-1.6.1.jar - have to download slf4j jar file for version 1.6.6
     70   slf4j-jdk14-1.6.1.jar - have to download slf4j jar file for version 1.6.6
     71  -->
     72
    4573  <property name="java-service-files"
    4674    value="SolrSearch.java         
     
    127155  </target>
    128156 
    129  
    130   <target name="add-service" depends="copy-files,compile" if="ext.web.exists"
    131     description="Run this target to setup the Solr extension for Greenstone3">
     157  <target name="add-service" depends="copy-files,compile"
     158    description="Run this target to setup the Solr extension for Greenstone3"> <!--if="ext.web.exists"-->
    132159   
    133160    <echo/>
Note: See TracChangeset for help on using the changeset viewer.