Hi all,
I pulled the latest version of FOP off of CVS and was able to build it just
fine and the examples work. I would like to set up the servlet example with
Tomcat, but I am not able to build it. The servlet.jar I am using is from the
Tomcat 4.1.12 binary release. Can someone tell me what it's looking for and
where I can find it and put it? I've browsed through the bug list and the mail
archive and have not been able to find a similar problem.
Should I expect the CVS version to work OK with JDK 1.4.1 and Tomcat 4.1.12?
Thanks!
Windows 2000 Pro, SP2
JDK 1.4.1_01
Console log:
C:\xml-fop\contrib\servlet>build clean
Fop Build System
----------------
Building with classpath
C:\j2sdk1.4.1_01\lib\tools.jar;C:\j2sdk1.4.1_01\lib\classes.zip;../../lib\ant.jar;../../lib\ant-1.3-optional.jar;../../lib\buildtools.jar;../../lib\xerces-1.4.3.jar;../../lib\xalan-2.2D11.jar
Starting Ant...
Buildfile: build.xml
init:
[echo] ------------------- Fop Servlet 0.2cvs [1999-2002] ----------------
clean:
[delete] Deleting directory C:\xml-fop\contrib\servlet\build
BUILD SUCCESSFUL
Total time: 0 seconds
C:\xml-fop\contrib\servlet>build
Fop Build System
----------------
Building with classpath
C:\j2sdk1.4.1_01\lib\tools.jar;C:\j2sdk1.4.1_01\lib\classes.zip;../../lib\ant.jar;../../lib\ant-1.3-optional.jar;../../lib\buildtools.jar;../../lib\xerces-1.4.3.jar;../../lib\xalan-2.2D11.jar
Starting Ant...
Buildfile: build.xml
init:
[echo] ------------------- Fop Servlet 0.2cvs [1999-2002] ----------------
servlet-check:
prepare:
[echo] Preparing the build directories
[mkdir] Created dir: C:\xml-fop\contrib\servlet\build
[mkdir] Created dir: C:\xml-fop\contrib\servlet\build\classes
compile:
[echo] Compiling the sources
[javac] Compiling 2 source files to C:\xml-fop\contrib\servlet\build\classes
[javac] This version of java does not support the classic compiler;
upgrading to modern
[javac] C:\xml-fop\contrib\servlet\src\FopPrintServlet.java:104: cannot
resolve symbol
[javac] symbol : method setLogger
(org.apache.avalon.framework.logger.Logger)
[javac] location: class org.apache.fop.apps.Driver
[javac] driver.setLogger (log);
[javac] ^
[javac] C:\xml-fop\contrib\servlet\src\FopPrintServlet.java:126: cannot
resolve symbol
[javac] symbol : method setLogger
(org.apache.avalon.framework.logger.Logger)
[javac] location: class org.apache.fop.apps.Driver
[javac] driver.setLogger (log);
[javac] ^
[javac] C:\xml-fop\contrib\servlet\src\FopServlet.java:96: cannot resolve
symbol
[javac] symbol : method setLogger
(org.apache.avalon.framework.logger.Logger)
[javac] location: class org.apache.fop.apps.Driver
[javac] driver.setLogger(log);
[javac] ^
[javac] C:\xml-fop\contrib\servlet\src\FopServlet.java:122: cannot resolve
symbol
[javac] symbol : method setLogger
(org.apache.avalon.framework.logger.Logger)
[javac] location: class org.apache.fop.apps.Driver
[javac] driver.setLogger(log);
[javac] ^
[javac] 4 errors
BUILD FAILED
file:C:/xml-fop/contrib/servlet/build.xml:58: Compile failed; see the compiler
error output for details.
Total time: 1 second
C:\xml-fop\contrib\servlet>