RE: Trouble building servlet example in CVS version
Hi Keiron, thanks for the update! It builds fine now. The fop-0_20_2-maintain branch version works good with both Tomcat 4.0.6 and 4.1.12, but the HEAD version gets a ServletException @ FopServlet.renderFO on both Tomcat versions. I can send the full error message if you like. For now I am happy working with the maintenance release. Thanks again! Bruce -Original Message- From: Keiron Liddle [mailto:[EMAIL PROTECTED] Sent: Thursday, November 14, 2002 12:59 AM To: [EMAIL PROTECTED] Subject:Re: Trouble building servlet example in CVS version On Wed, 2002-11-13 at 22:49, Krautbauer, Bruce wrote: 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? It appears that it hasn't been updated to the latest api. I will fix that. It should work with tomcat, there may be the occasional problem with certain versions but I think it almost always should work.
Trouble building servlet example in CVS version
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\servletbuild 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\servletbuild 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
Re: CVS version
see: http://marc.theaimsgroup.com/?l=fop-devm=100374237103385w=2 On 2002.01.10 16:35 Carmelo Montanez wrote: I get the same thing!!, anyone has a clue? Carmelo - Original Message - From: Ludovic Maurillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 10:29 AM Subject: CVS version hi, I'm using the CVS code to run fop. when lauching it, that says CVS FOP DOES NOT WORK - DO NOT EXPECT ANYTHING. Is my version correct? or should i stay with the binary distribution?? regards, Ludovic Maurillon SAROS 6 rue de la Trmoille 75008 PARIS Tl: 01 53 23 02 20 Fax: 01 53 23 02 21 E-mail : [EMAIL PROTECTED]