Changeset 25900


Ignore:
Timestamp:
2012-07-05T21:07:31+12:00 (9 years ago)
Author:
ak19
Message:

Adding an ant build file with add-service and del-service targets for the Solr extension to replace the existing bash scripts ADD-SERVICE.sh and DEL-SERVICE.sh. This bypasses the need for batch scripts that parallel the bash scripts.

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

Legend:

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

    r25802 r25900  
    2626
    2727for f in $file_list ; do
    28   echo "Adding $gsdlsrcdir/$f to gsdl3 web jar lib directory"
     28  echo "Adding lib/java/$f to gsdl3 web jar lib directory"
    2929
    3030  /bin/cp "lib/java/$f" "../../$jarwebdir/$f"
     
    3434
    3535if [ ! -d ../../$webextdir ] ; then
    36   echo "Creating web extension direction: $webextdir"
     36  echo "Creating web extension directory: $webextdir"
    3737  mkdir ../../$webextdir
    3838fi
     
    4646
    4747if [ -d web ] ; then
     48  echo "Copying the content of the web folder (excluding the top-level .svn directory)"
    4849  # copy the content of the web folder (avoiding the top-level .svn directory)
    4950  /bin/cp -r web/* ../../$webextdir/.
  • gs3-extensions/solr/trunk/src/DEL-SERVICE.sh

    r24742 r25900  
    2929
    3030for f in $file_list ; do
    31   echo "Adding $gsdlsrcdir/$f to gsdl3 web jar lib directory"
     31  echo "Removing $f from gsdl3 web jar lib directory"
    3232
    3333  /bin/rm -f "../../$jarwebdir/$f"
     
    3838
    3939if [ -d web ] ; then
     40  echo "Removing the content of the web folder copied in by ADD-SERVICE.sh"
    4041  # remove the content of the web folder copied in by ADD-SERVICE.sh
    4142  /bin/rm -r ../../$webextdir
Note: See TracChangeset for help on using the changeset viewer.