Robert P. J. Day wrote:
first, in terms of building, FOP is again sort of flexible
when it comes to recognizing a JIMI archive. despite what
the documentation ways, the JIMI file copied under {fop}/lib
doesn't *have* to be called jimi-1.0.jar. from my tests,
jimi.jar seems to work fine since that name still generates
the confirmation:
"[echo] Jimi library is present. Installing Jimi support."
however, it's *not* acceptable to just call it "Jimi.jar",
A short look into build.xml would have saved you some experimentation:
<path id="libs-build-classpath">
<fileset dir="lib">
<include name="xalan*.jar"/>
<include name="xerces*.jar"/>
<include name="xml-apis.jar"/>
<include name="avalon-framework*.jar"/>
<include name="batik*.jar"/>
<include name="jimi*.jar"/>
<include name="jai*.jar"/>
</fileset>
</path>
These are all jars searched for build-time dependencies.
The fop.sh is a bit more generous:
# add in the dependency .jar files, which reside in $FOP_HOME/lib
DIRLIBS=${FOP_HOME}/lib/*.jar
while fop.bat isn't:
set LOCALCLASSPATH=build/fop.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar
anyway, the bigger problem is that, after the build,
any graphics that require JIMI just don't render.
1. If JAI is found, Jimi isn't used at all.
2. FOP supports only PNG, TGA, EPS and TIFF, all other formats
fall into the SVG clause and cause errors.
Before you ask: no, FOP's image format analyzer is not as flexible
as you probably wish. You are invited to contribute code.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]