Last change
on this file since 24642 was 24642, checked in by davidb, 13 years ago |
supporting files and add and remove solr service to Greenstone3
|
-
Property svn:executable
set to
*
|
File size:
704 bytes
|
Line | |
---|
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 | echo "Adding $gsdlsrcdir/$f to gsdl3 java code-base"
|
---|
9 |
|
---|
10 | /bin/cp "$gsdlsrcdir/$f" "../../$gsdlsrcdir/$f"
|
---|
11 | done
|
---|
12 |
|
---|
13 | classesdir=web/WEB-INF/classes
|
---|
14 |
|
---|
15 | prop_list=`cat prop-file-list.txt`
|
---|
16 |
|
---|
17 | for f in $prop_list ; do
|
---|
18 | echo "Adding properties/$f to gsdl3 properties area"
|
---|
19 |
|
---|
20 | /bin/cp "properties/$f" "../../$classesdir/$f"
|
---|
21 | done
|
---|
22 |
|
---|
23 | webextdir=ext/solr
|
---|
24 |
|
---|
25 | if [ ! -d ../../$webextdir ] ; then
|
---|
26 | echo "Creating web extension direction: $webextdir"
|
---|
27 | mkir ../../$webextdir
|
---|
28 | fi
|
---|
29 |
|
---|
30 | # copy the content of the web folder (avoiding the top-level .svn directory)
|
---|
31 | /bin/cp -r web/* ../../$webextdir/.
|
---|
32 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.