#!/bin/sh

if [ $# -eq 0 ]
then echo Usage: $0 class [config-file]
     cd antBuildFiles
     ls *.xml | sed 's/.xml//'
     exit 1
fi

args="-DrunFile=$1"

if [ $# -ge 2 ]
then
    args="$args -Dconfig=$2"
    shift; shift
    restargs="$*"
fi

ant -v run $args $restargs
