#!/bin/bash
# -----------------------------------------------------------------------------
# build.sh - Unix Build Script for RDFQuery
# -----------------------------------------------------------------------------

# ----- Verify and Set Required Environment Variables -------------------------
   
LIB=common/lib

if [ "$JAVA_HOME" = "" ] ; then
  echo You must set JAVA_HOME to point at your Java Development Kit installation
  exit 1
fi

# ----- Set Up The Runtime Classpath ------------------------------------------

CP=.:$JAVA_HOME/lib/tools.jar:$LIB/arp.jar:$LIB/jpeg.jar:$LIB/junit.jar:$LIB/rdfquery.jar:$LIB/aging-stanford-api.jar:$LIB/xerces_1_2_3.jar:$LIB/pgjdbc2.jar

 
# ----- Execute The Requested Build -------------------------------------------

$JAVA_HOME/bin/java  -classpath $CP org.desire.rudolf.app.Scutter  -f \
file:scutterplan.rdf -d \
"rdf:jdbc:postgresql://localhost:5432/codepict?auth=password&user=postgres&password=notneeded"



