Re: fop configuration

2002-04-02 Thread J.Pietschmann
RAYMOND Romain wrote:
hello,
Please what are the nedded libraries to use FOP embending in TC 4.0.3,
I use FOp 0.20.1.
I fail to use the given example ?
You need fop.jar and all jars from the lib directory in the
distribution.
It is recommended to upgrade to 0.20.3 in any case because
of conformance to the standard and a few rather confusing
issues are fixed.
Using FOP with Tomcat 4.x has some pitfalls, check both
the documentation delivered with your tomcat version as
well as the documents distribute with the latest FOP
release in depth.
Can I only use last xalan distribution and if not why ?
In general, you can.
J.Pietschmann


Re: fop configuration

2002-04-02 Thread RAYMOND Romain

hello,

Please what are the nedded libraries to use FOP embending in TC 4.0.3,
I use FOp 0.20.1.
I fail to use the given example ?

And what about the jar xalan-1.2.2, xalan-2.0.0 and xalanj1compat ?

Can I only use last xalan distribution and if not why ?

Thanks.


Re: fop configuration

2002-04-01 Thread J.Pietschmann
cyril vidal wrote:
Exeptoin in thread "main" java.lang.NoClassDefFoundError: 
org:apache/log/format/Formatter
You also have to include logkit-1.0.jar in the classpath.
The file should be in the fop/lib directory.
J.Pietschmann


fop configuration

2002-04-01 Thread cyril vidal



Hello,
 
I'm a new user of FOP 
0.20.3
I would like to run my first sample 
simple.fo (set in docs\examples\fo) but unfortunately, it doesn't 
work.
I guess it's a classpath problem 
because when I write the following instruction on the command line, the 
error message is:
Exeptoin in thread "main" 
java.lang.NoClassDefFoundError: org:apache/log/format/Formatter
at 
org.apache.fop.apps.Fop.main(Fop.java:16)
 
below is my complete classpath 
set:
CLASSPATH=C:\tomcat\common\lib\servlet.jar;C:\xalan\bin\xalan.jar;C:\xalan\bin\xercesImpl.jar;C:\xalan\bin\xml-apis.jar;C:\xalan\bin\xalansamples.jar;C:\xalan\bin\xalanservlet.jar;c:\xalan\samples\ApplyXPath;C:\fop\build\fop.jar;C:\fop\lib\avalon-framework-4.0.jar;c:\fop\lib\xalanj1compat.jar;c:\fop\lib\batik.jar;c:\fop\lib\ant.jar
 
Is something wrong? Is there any 
problem with xalan classes because I've installed Xalan too?
 
Thanks a lot for your 
responses,
Cyril.