#!/bin/sh # # xsd2jibx script # JPackage Project <http://www.jpackage.org/> # Configuration BASE_FLAGS="" BASE_JARS="commons-lang commons-logging jaxme/ws-jaxmejs log4j xpp3 ant jibx/run xsd2jibx" BASE_OPTIONS="" MAIN_CLASS=org.jibx.xsd2jibx.Generate # Source functions library . /usr/share/java-utils/java-functions # Source system prefs if [ -f /etc/xsd2jibx.conf ] ; then . /etc/xsd2jibx.conf fi # Source user prefs if [ -f $HOME/.xsd2jibxrc ] ; then . $HOME/.xsd2jibxrc fi # Set parameters set_jvm set_classpath $BASE_JARS set_flags $BASE_FLAGS set_options $BASE_OPTIONS # Let's start run "$@"