Changeset 24742 for gs3-extensions

Show
Ignore:
Timestamp:
07.10.2011 22:28:19 (8 years ago)
Author:
davidb
Message:

Due to introduction of LuceneWrapper?3, no longer need to keep a backup folder and patch existing Lucene services

Location:
gs3-extensions/solr/trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/ADD-SERVICE.sh

    r24715 r24742  
    1111done 
    1212 
    13  
    14 if [ ! -d backup ] ; then 
    15   echo "Patching GS2LuceneSearch to inherit from SharedSoleneGS2FieldSearch.java" 
    16   mkdir backup 
    17   /bin/mv ../../$gsdlsrcdir/service/GS2LuceneSearch.java backup/. 
    18   /bin/cp $gsdlsrcdir/service/GS2LuceneSearch.java ../../$gsdlsrcdir/service/. 
    19   /bin/cp $gsdlsrcdir/service/SharedSoleneGS2FieldSearch.java ../../$gsdlsrcdir/service/. 
    20 fi 
    2113 
    2214classesdir=web/WEB-INF/classes 
  • gs3-extensions/solr/trunk/src/DEL-SERVICE.sh

    r24715 r24742  
    1212  fi 
    1313done 
    14  
    15 if [ -d backup ] ; then 
    16   echo "Reverting GS2LuceneSearch to nolonger inherit from SharedSoleneGS2FieldSearch.java" 
    17   /bin/rm ../../$gsdlsrcdir/service/SharedSoleneGS2FieldSearch.java  
    18   /bin/rm ../../$gsdlsrcdir/service/GS2LuceneSearch.java  
    19   /bin/mv backup/GS2LuceneSearch.java $gsdlsrcdir/service/. 
    20   rmdir backup 
    21 fi 
    2214 
    2315