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

Last change on this file since 37297 was 37297, checked in by davidb, 16 months ago

To work with the fuseki3.war file, these now need to be in the web/ext/jena/ area to be accessible by sparql.xsl

File size: 1.2 KB
Line 
1#!/bin/bash
2
3source ./devel.sh
4
5source cascade-make/lib/cascade-lib.bash
6
7# Guaranteed that GSDLOS has now been set
8
9if [ ! -e $GEXT_JENA_INSTALLED ] ; then
10 echo "Creating $GEXT_JENA_INSTALLED"
11 mkdir $GEXT_JENA_INSTALLED
12fi
13
14
15for d in packages src src3 ; do
16 echo "Running $d/CASCADE-MAKE.sh $*"
17
18 (cd $d ; ./CASCADE-MAKE.sh $*)
19
20 if [ $? != 0 ] ; then
21 echo "Error encountered running $d/CASCADE-MAKE.sh"
22 exit 1
23 fi
24done
25
26if [ $makedist = "1" ] ; then
27 default_toplevel_make_dist $GSDLOS devel.bash
28fi
29
30
31if [ $install = "1" ] ; then
32
33 if [ ! -d ../../../web/ext/jena ] ; then
34 echo "Making directory ../../../web/ext/jena"
35 mkdir ../../../web/ext/jena
36 fi
37
38 echo "Installing web-ext-js/sgvizler into web/ext/jena"
39 /bin/cp -r web-ext-js/sgvizler ../../../web/ext/jena/.
40
41 if [ ! -d web-ext2-js/npm-direct-install/node_modules ] ; then
42 echo "Running web-ext2-js/DOWNLOAD.sh"
43 cd web-ext2-js && ./DOWNLOAD.sh && cd ..
44 fi
45
46 cd web-ext2-js && ./INSTALL.sh && cd ..
47
48 echo ""
49 echo "Installing etc/pages/xml-to-html\*.xsl into web/ext/jena"
50 /bin/cp etc/pages/xml-to-html*.xsl ../../../web/ext/jena/.
51
52 ./INSTALL-FUSEKI3-WAR.sh
53
54 cat NOTES.txt
55fi
56
Note: See TracBrowser for help on using the repository browser.