Last change
on this file since 24742 was 24742, checked in by davidb, 13 years ago |
Due to introduction of LuceneWrapper3, no longer need to keep a backup folder and patch existing Lucene services
|
-
Property svn:executable
set to
*
|
File size:
858 bytes
|
Rev | Line | |
---|
[24642] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | gsdlsrcdir=src/java/org/greenstone/gsdl3
|
---|
| 4 |
|
---|
| 5 | file_list=`cat java-src-file-list.txt | egrep -v '^#'`
|
---|
| 6 |
|
---|
| 7 | for f in $file_list ; do
|
---|
| 8 | if [ -e "../../$gsdlsrcdir/$f" ] ; then
|
---|
| 9 | echo "Removing $gsdlsrcdir/$f from gsdl3 java code-base area '$gsdlsrcdir'"
|
---|
| 10 |
|
---|
| 11 | /bin/rm -f "../../$gsdlsrcdir/$f"
|
---|
| 12 | fi
|
---|
| 13 | done
|
---|
| 14 |
|
---|
[24648] | 15 |
|
---|
[24642] | 16 | classesdir=web/WEB-INF/classes
|
---|
| 17 |
|
---|
| 18 | prop_list=`cat prop-file-list.txt`
|
---|
| 19 |
|
---|
| 20 | for f in $prop_list ; do
|
---|
| 21 | echo "Removing $f from gsdl3 properties area '$classesdir'"
|
---|
| 22 |
|
---|
| 23 | /bin/rm -f "../../$classesdir/$f"
|
---|
| 24 | done
|
---|
[24714] | 25 |
|
---|
[24715] | 26 | jarwebdir=web/WEB-INF/lib
|
---|
| 27 |
|
---|
| 28 | file_list=`cat jar-file-list.txt | egrep -v '^#'`
|
---|
| 29 |
|
---|
| 30 | for f in $file_list ; do
|
---|
| 31 | echo "Adding $gsdlsrcdir/$f to gsdl3 web jar lib directory"
|
---|
| 32 |
|
---|
| 33 | /bin/rm -f "../../$jarwebdir/$f"
|
---|
| 34 | done
|
---|
| 35 |
|
---|
| 36 |
|
---|
[24714] | 37 | webextdir=ext/solr
|
---|
| 38 |
|
---|
[24715] | 39 | if [ -d web ] ; then
|
---|
[24714] | 40 | # remove the content of the web folder copied in by ADD-SERVICE.sh
|
---|
| 41 | /bin/rm -r ../../$webextdir
|
---|
| 42 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.