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

Revision 28463, 0.8 KB (checked in by davidb, 6 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 *
Line 
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"
10  echo "=="
11
12  triple_store="$GEXT_JENA_INSTALLED/etc/tdb-triple-store"
13  if [ ! -d "$triple_store" ] ; then
14    echo "= Creating empty triple-store:"
15    echo "    $triple_store"
16    mkdir "$triple_store"
17
18   /bin/cp tdb.ttl "$GEXT_JENA_INSTALLED/etc/."
19  fi
20
21  echo "= Installing server-side scripts"
22  /bin/cp gs-triplestore-* $GEXT_JENA_INSTALLED/bin/script/.
23  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/gs-triplestore-*
24
25
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
31  echo "===="
32  echo ""
33
34fi
Note: See TracBrowser for help on using the browser.