source: gs3-extensions/iiif-servlet/trunk/src/PREPARE-GSDL-AND-COMPILE-CORE.sh@ 32888

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

Also want to check and untar cantoloupe in this PREPARE file

  • Property svn:executable set to *
File size: 947 bytes
Line 
1#!/bin/bash
2
3echo "Running rsync update on gsdl-src/java"
4rsync -pav gsdl-src/java ../../src/.
5
6echo "Running 'ant compile-core'"
7pushd ../../ && ant compile-core && popd
8
9if [ ! -d packages/cantaloupe-4.0.2 ] ; then
10 cd packages/
11 tar xvzf cantaloupe-4.0.2.tar.gz
12 cd ..
13fi
14
15echo "Copying gsdl3.jar and gutil.jar to Cantaloupe's webapps/WEB-INF/lib/ directory"
16/bin/cp ../../build/gsdl3.jar packages/cantaloupe-4.0.2/src/main/webapp/WEB-INF/lib/gsdl3.jar
17/bin/cp ../../build/gutil.jar packages/cantaloupe-4.0.2/src/main/webapp/WEB-INF/lib/gutil.jar
18
19echo
20echo "If first time run, or changes made to:"
21echo " (i) ./src (Greenstone specific code for Cantaloupe's src directory)"
22echo " (ii) ./cantaloupe-pom.xml or ./cantaloup.properties"
23echo " (iii) Greenstone's global.properties, log4j.properties, IIIFConfig.xml"
24echo
25echo "then:"
26echo " ./PREPARE-CANTALOUPE.sh"
27
28echo
29echo "Otherwise:"
30echo " ./COMPILE-CANTALOUPE.sh"
31echo
Note: See TracBrowser for help on using the repository browser.