improvements for demo
- add demo cluster
- add example mugshot.com data and queries
- automatic configuration of a cluster
- set MANAGIX_HOME implicitly
- better AQL lexer error reporting
- better eror reporting in ADM parser
- fix and optimize construction of asterix zip for deployment
Change-Id: I9d80402cef72a15271766031b6f06c7220e4ad5a
Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/95
Reviewed-by: Ian Maxon <imaxon@uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Raman Grover <ramang@uci.edu>
diff --git a/asterix-installer/src/main/resources/scripts/managix b/asterix-installer/src/main/resources/scripts/managix
index 3d2ac10..89fe201 100644
--- a/asterix-installer/src/main/resources/scripts/managix
+++ b/asterix-installer/src/main/resources/scripts/managix
@@ -1,10 +1,11 @@
-if [ -z $MANAGIX_HOME ]
+if [ -z $MANAGIX_HOME ]
then
- echo "MANAGIX_HOME is not defined"
- exit 1
+ pushd $(dirname $0) >/dev/null
+ cd ..
+ export MANAGIX_HOME=$(pwd)
+ popd >/dev/null
fi
-
for jar in `ls $MANAGIX_HOME/lib/*.jar`
do
if [ -z $MANAGIX_CLASSPATH ]