source: gs2-extensions/apache-jena/trunk/src/src/CASCADE-MAKE.sh@ 28463

Last change on this file since 28463 was 28463, checked in by davidb, 11 years ago

Shift to running Fuseki with a bespoke config file. The config file is meant to cause triples to be automatically added to 'default'. Testing to date suggests that something is still not quite right with how this is setup and/or run from the command line

  • Property svn:executable set to *
File size: 782 bytes
RevLine 
[28419]1#!/bin/bash
2
3source ../cascade-make/lib/cascade-lib.bash GEXT_JENA .. $*
4
5
6if [ $install = "1" ] ; then
7
8 echo "===="
9 echo "= Installing GS Triplestore Wrapper scripts"
[28421]10 echo "=="
[28419]11
12 triple_store="$GEXT_JENA_INSTALLED/etc/tdb-triple-store"
13 if [ ! -d "$triple_store" ] ; then
[28430]14 echo "= Creating empty triple-store:"
15 echo " $triple_store"
[28419]16 mkdir "$triple_store"
[28463]17
18 /bin/cp tdb.ttl "$GEXT_JENA_INSTALLED/etc/."
[28419]19 fi
20
21 echo "= Installing server-side scripts"
[28451]22 /bin/cp gs-triplestore-* $GEXT_JENA_INSTALLED/bin/script/.
23 chmod a+rx $GEXT_JENA_INSTALLED/bin/script/gs-triplestore-*
[28419]24
[28463]25
[28450]26 echo "= Installing Greenstone-style CSS"
27 /bin/cp fuseki.css $GEXT_JENA_INSTALLED/etc/pages/.
28 chmod a+r $GEXT_JENA_INSTALLED/etc/pages/fuseki.css
29
30
[28419]31 echo "===="
32 echo ""
33
34fi
Note: See TracBrowser for help on using the repository browser.