#! /bin/sh set -e # Build everything . ./install.cfg export LOGDIR CONFDIR CLASSPATH webinf=src/main/webapp/WEB-INF perl -pe 's/\@(CONFDIR|LOGDIR)\@/$ENV{$1}/ge' <$webinf/web.xml.in >$webinf/web.xml rm -rf target mkdir -p target/classes find src -name \*.java >files exec javac -d target/classes -encoding UTF-8 -source 1.5 -target 1.5 @files