]> git.pld-linux.org Git - packages/jtidy.git/blob - jtidy.jtidy.script
- drop obsolete and outdated manual inclusion of rpm macros
[packages/jtidy.git] / jtidy.jtidy.script
1 #!/bin/sh
2
3 # JTidy script
4 # JPackage Project <http://www.jpackage.org/>
5 # $Id$
6
7 # Source functions library
8 if [ -f /usr/share/java-utils/java-functions ] ; then 
9   . /usr/share/java-utils/java-functions
10 else
11   echo "Can't find functions library, aborting"
12   exit 1
13 fi
14
15 # Configuration
16 MAIN_CLASS=org.w3c.tidy.Tidy
17 BASE_JARS="jaxp_parser_impl jtidy xml-commons-apis"
18
19 # Set parameters
20 set_classpath $BASE_JARS
21 set_flags $BASE_FLAGS
22 set_options $BASE_OPTIONS
23
24 # Let's start
25 run ${1:+$@}
This page took 0.031909 seconds and 3 git commands to generate.