Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 8f53448e64dae0f3bf15b19e6aed3ebd > files > 2

jtidy-1.0-0.1.r7dev.1.2.7mdv2009.0.src.rpm

#!/bin/sh
# 
# JTidy script
# JPackage Project <http://www.jpackage.org/>
# $Id: jtidy.jtidy.script,v 1.1 2002/08/30 20:27:06 scop Exp $

# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then 
  . /usr/share/java-utils/java-functions
else
  echo "Can't find functions library, aborting"
  exit 1
fi

# Configuration
MAIN_CLASS=org.w3c.tidy.Tidy
BASE_JARS="jaxp_parser_impl jtidy xml-commons-jaxp-1.3-apis"

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

# Let's start
run "$@"