#!/bin/sh

########################################################################
# pdump - JSTOR/Harvard Object Validation Environment
# Copyright 2003-2005 by JSTOR and the President and Fellows of Harvard College
# JHOVE is made available under the GNU General Public License (see the
# file LICENSE for details)
#
# Driver script for the PDF dump utility
#
# Usage: pdump file
#
# where  file  is a PDF file
#
# Configuration constants:

JHOVE_HOME=/users/stephen/projects/jhove

JAVA_HOME=/usr/java      # Java JRE directory
JAVA=$JAVA_HOME/bin/java # Java interpreter

EXTRA_JARS=              # Extra .jar files to add to CLASSPATH

# NOTE: Nothing below this line should be edited
########################################################################

CP=${JHOVE_HOME}/bin/JhoveApp.jar:${EXTRA_JARS}

# Retrieve a copy of all command line arguments to pass to the application.

ARGS=""
for ARG do
    ARGS="$ARGS $ARG"
done

# Set the CLASSPATH and invoke the Java loader.
${JAVA} -classpath $CP PDump $ARGS
