source: gs3-extensions/iiif-servlet/trunk/src/PREPARE.sh@ 32707

Last change on this file since 32707 was 32707, checked in by davidb, 5 years ago

Files needed for GS3-Cantaloupe bridge result from second round of testing

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1#!/bin/bash
2
3if [ ! -d packages/cantaloupe-4.0.2 ] ; then
4 cd packages/
5 tar xvzf cantaloupe-4.0.2.tar.gz
6 cd ..
7fi
8
9echo "Running rsync update on src/main"
10rsync -pav src/main packages/cantaloupe-4.0.2/src/.
11
12echo "Running rsync update on cantaloupe-pom.xml -> cantaloupe-4.0.2/pom.xml"
13rsync -pav cantaloupe-pom.xml packages/cantaloupe-4.0.2/pom.xml
14
15
16echo
17
18echo "Copying Greenstone's global.properties into Cantaloupe's resources folder"
19/bin/cp ../../web/WEB-INF/classes/global.properties packages/cantaloupe-4.0.2/src/main/resources/.
20
21echo "Copying Greenstone's log4j.properties into Cantaloupe's resources folder"
22/bin/cp ../../web/WEB-INF/classes/log4j.properties packages/cantaloupe-4.0.2/src/main/resources/.
23
24echo "Copying Greenstone's OAIConfig.xml into Cantaloupe's resources folder"
25echo "**** Note: this is only a temporary measure, and should be transformed into IIIFConfig.xml"
26/bin/cp ../../web/WEB-INF/classes/OAIConfig.xml packages/cantaloupe-4.0.2/src/main/resources/.
27
28
29echo
30echo "Next step:"
31echo " ./COMPILE.sh"
32echo
Note: See TracBrowser for help on using the repository browser.