Changeset 24715 for gs3-extensions/solr


Ignore:
Timestamp:
2011-10-05T14:04:12+13:00 (10 years ago)
Author:
davidb
Message:

Added in support to copy and remove needed jar files

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

Legend:

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

    r24713 r24715  
    3030done
    3131
     32
     33jarwebdir=web/WEB-INF/lib
     34
     35file_list=`cat jar-file-list.txt | egrep -v '^#'`
     36
     37for f in $file_list ; do
     38  echo "Adding $gsdlsrcdir/$f to gsdl3 web jar lib directory"
     39
     40  /bin/cp "lib/java/$f" "../../$jarwebdir/$f"
     41done
     42
     43
     44
    3245webextdir=ext/solr
    3346
     
    3750fi
    3851
    39 if [ -d web ] ;
     52if [ -d web ] ; then
    4053  # copy the content of the web folder (avoiding the top-level .svn directory)
    4154  /bin/cp -r web/* ../../$webextdir/.
  • gs3-extensions/solr/trunk/src/DEL-SERVICE.sh

    r24714 r24715  
    3232done
    3333
     34jarwebdir=web/WEB-INF/lib
     35
     36file_list=`cat jar-file-list.txt | egrep -v '^#'`
     37
     38for f in $file_list ; do
     39  echo "Adding $gsdlsrcdir/$f to gsdl3 web jar lib directory"
     40
     41  /bin/rm -f "../../$jarwebdir/$f"
     42done
     43
     44
    3445webextdir=ext/solr
    3546
    36 if [ -d web ] ;
     47if [ -d web ] ; then
    3748  # remove the content of the web folder copied in by ADD-SERVICE.sh
    3849  /bin/rm -r ../../$webextdir
Note: See TracChangeset for help on using the changeset viewer.