Strabon

annotate strabon @ 72:0833b90288cb

fix pom.xml
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Thu Mar 22 12:33:35 2012 +0100 (2012-03-22)
parents bf7e497a0b9e
children
rev   line source
kkyzir@28 1 #! /bin/bash
kkyzir@28 2
kkyzir@28 3 dbName=$1
kkyzir@28 4 dirs=$2
kkyzir@28 5
kkyzir@28 6 # Evaluates a query using Strabon that is stored in $dir
kkyzir@28 7 #dir='/home/ggarbis/workspaces/Strabon-workspace/Strabon/jars/target'
kkyzir@28 8 dir='/home/kkyzir/teleios/nkua/Strabon/jars/target'
kkyzir@28 9
kkyzir@28 10 # Arguments for QueryDir
kkyzir@28 11 HOST='localhost'
kkyzir@28 12 PORT='50000'
kkyzir@28 13 DATABASE=$dbName
kkyzir@28 14 USERNAME='monetdb'
kkyzir@28 15 PASSWORD='monetdb'
kkyzir@28 16 FORMAT=''
kkyzir@28 17 DIRS=$2
kkyzir@32 18 EXT=$3
kkyzir@28 19
kkyzir@28 20 # Construct classpath with dependencies
kkyzir@28 21 cd $dir &&
kkyzir@28 22 for file in `ls -1 *.jar`;
kkyzir@28 23 do
kkyzir@28 24 myVar=$myVar./$file":";
kkyzir@28 25 done;
kkyzir@28 26
kkyzir@28 27 # Evaluate a query
kkyzir@32 28 java -Xmx5000M -cp $myVar eu.earthobservatory.runtime.monetdb.QueryDir $HOST $PORT $DATABASE $USERNAME $PASSWORD "$DIRS" "$EXT" $FORMAT