Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
xmlgraphics-fop
xmlgraphics-fop-fontmetrics.script
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xmlgraphics-fop-fontmetrics.script of Package xmlgraphics-fop
#!/bin/bash # 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 # Load system-wide configuration if [ -f /etc/fop.conf ]; then . /etc/fop.conf fi # Load user configuration if [ -f "$HOME/.foprc" ]; then . "$HOME/.foprc" fi fopxconf=/etc/fop.xconf fop_exec_args= if [ -f "$fopxconf" ] ; then config_found=0 for i in "$@"; do if [ "$i" = "-c" ]; then config_found=1; break; fi; done if [ $config_found = 0 ]; then fop_exec_args="-c $fopxconf $fop_exec_args" fi fi # Rest of the configuration MAIN_CLASS_PFM=org.apache.fop.fonts.apps.PFMReader MAIN_CLASS_TTF=org.apache.fop.fonts.apps.TTFReader if [ "$1" = '-t' ]; then MAIN_CLASS=${MAIN_CLASS_TTF} shift elif [ "$1" = "-p" ]; then MAIN_CLASS=${MAIN_CLASS_PFM} shift else MAIN_CLASS=${MAIN_CLASS_TTF} fi BASE_JARS="xmlgraphics-fop xmlgraphics-commons commons-io commons-logging avalon-framework xml-commons-jaxp-1.3-apis xerces-j2 xalan-j2 xalan-j2-serializer" # Set parameters set_jvm set_classpath $BASE_JARS set_flags $BASE_FLAGS set_options $BASE_OPTIONS $FOP_OPTS # Let's start run $fop_exec_args "$@"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor