root/gs3-extensions/audioDB/trunk/src/ADD-SERVICE.sh @ 24401

Revision 24401, 435 bytes (checked in by davidb, 8 years ago)

Support for installing/removing Service properties file

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3gsdlsrcdir=src/java/org/greenstone/gsdl3
4
5file_list=`cat java-src-file-list.txt`
6
7for f in $file_list ; do
8  echo "Adding $gsdlsrcdir/$f to gsdl3 java code-base"
9
10  /bin/cp "$gsdlsrcdir/$f" "../../$gsdlsrcdir/$f"
11done
12
13classesdir=web/WEB-INF/classes
14
15prop_list=`cat prop-file-list.txt`
16
17for f in $prop_list ; do
18  echo "Adding properties/$f to gsdl3 properties area"
19
20  /bin/cp "properties/$f" "../../$classesdir/$f"
21done
Note: See TracBrowser for help on using the browser.