xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Neilands" <rneila...@pulsemining.com.au>
Subject RE: Running FOP from anywhere
Date Mon, 26 May 2003 00:17:19 GMT
> > The new feature ensures that the FOP jars will be found by the JVM
> > regardless of the current directory. It doesn't (and can't) ensure
> > that fop.bat will be found regardless of the current directory.
> > Either call fop.bat with a proper absolute or relative path, or add
> > the FOP base directory to your PATH. That's how it is supposed to
> > work for ages, since DOS 2.0 to be precise.
> >
> > J.Pietschmann
>
> My bad, I'd added the direct PATH to fop-0.20.4\fop.bat some time ago
> when I was troubleshooting why it wouldn't work work NoClassDefFound:
>
>    http://xml.apache.org/fop/faq.html#NoClassDefFound

I just downloaded 0.20.3rc3a & got this same error.
There are a couple of typos in the new fop.bat file: "/" instead of "\" and
two "\" missing.

< set LIBDIR=%LOCAL_FOP_HOME%lib
< set LOCALCLASSPATH=%LOCAL_FOP_HOME%build/fop.jar
---
> set LIBDIR=%LOCAL_FOP_HOME%\lib
> set LOCALCLASSPATH=%LOCAL_FOP_HOME%\build\fop.jar

Cheers,
Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message