source: gs3-extensions/mars-src/trunk/ADD-SERVICE.sh@ 36852

Last change on this file since 36852 was 36852, checked in by davidb, 19 months ago

Adding in prop files in addition to java src

  • Property svn:executable set to *
File size: 719 bytes
Line 
1#!/bin/bash
2
3gsdlsrcdir=src/java/org/greenstone/gsdl3
4
5file_list=`cat java-src-file-list.txt`
6
7echo ""
8for f in $file_list ; do
9 echo "Adding $gsdlsrcdir/$f to gsdl3 java code-base"
10
11 /bin/cp "$gsdlsrcdir/$f" "../../$gsdlsrcdir/$f"
12done
13
14classesdir=web/WEB-INF/classes
15
16prop_list=`cat prop-file-list.txt`
17
18echo ""
19for f in $prop_list ; do
20 echo "Adding properties/$f to gsdl3 properties area"
21
22 /bin/cp "properties/$f" "../../$classesdir/$f"
23done
24
25echo ""
26echo "Copying weka.jar to ../../web/WEB-INF/"
27/bin/cp jars/weka.jar ../../web/WEB-INF/lib/.
28
29echo ""
30echo "Assuming you have a core Greenstone3 compiled up ..."
31echo "Add the new service in with:"
32echo " cd ../.."
33echo " ant compile-core restart"
34echo ""
35
36
Note: See TracBrowser for help on using the repository browser.