#!/bin/bash
#
# dtdinst script
# JPackage Project <http://www.jpackage.org/>

# Source functions library
. /usr/share/java-utils/java-functions

# Source system prefs
if [ -f /etc/java/dtdinst.conf ] ; then
  . /etc/java/dtdinst.conf
fi

# Source user prefs
if [ -f $HOME/.dtdinstrc ] ; then
  . $HOME/.dtdinstrc
fi

# Configuration
MAIN_CLASS=com.thaiopensource.xml.dtd.app.Driver
BASE_FLAGS=""
BASE_OPTIONS=""
BASE_JARS="dtdinst"

# Set parameters
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"
