[Rob Sargent]

> Can you show that the classpath you list is in fact the classpath in
> play at runtime?

Here's the script I used to start the process:

#!/bin/sh
# 
# Fop script
# JPackage Project <http://www.jpackage.org/>

# 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

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

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

# Configuration
MAIN_CLASS=org.apache.fop.cli.Main
# Set parameters
set_jvm
set_classpath commons-io batik-all avalon-framework-api \
  avalon-framework-impl xmlgraphics-commons \
  commons-logging fop
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
echo $CLASSPATH
run "$@"

> Any ide involved?

What do you mean by "ide"?

> fop version?

'fop -version' returns FOP Version SVN tags/fop-1_0

'rpm -q fop' returns fop-1.0-17.fc15.noarch

Regards,
Lars

> On 12/19/2011 12:28 PM, Lars Bjørndal wrote:
>> I get the following error from fop:
>>
>> 19.des.2011 20:14:28 org.apache.fop.image.loader.batik.PreloaderSVG$Loader 
>> getImage
>> WARNING: Batik not in class path
>>
>> Even though, I have the following CLASSPATH variable:
>>
>> /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework-api.jar:/usr/share/java/avalon-framework-impl.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar
>>
>> So, what's the problem here? Doesn't the reference to batik-all include
>> batik? The file exists, and is from package batik-1.7-11.fc15.
>>
>> Regards,
>> Lars

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to