[Refdb-users] Setting up 'jfor' for rtf output
Status: Beta
                
                Brought to you by:
                
                    mhoenicka
                    
                
            | 
      
      
      From: David N. <dav...@bi...> - 2004-03-05 09:50:25
      
     | 
| Hi all, When using refdb makefile to convert DocBook XML --> RTF, the refdb scripts (actually refdbxml) rely on 'jfor'. jfor converts FO to RTF and is available from http://sourceforge.net/projects/jfor. The documentation can optimistically be called 'minimal'. I included the jfor.jar and xerces.jar files in my classpath, but got the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log/Hierarchy at org.jfor.jfor.main.CmdLineConverter.<clinit>(Unknown Source) at ch.codeconsult.jfor.main.CmdLineConverter.main(Unknown Source) It seems recent versions of jfor now rely on Apache's logkit.jar. It may already be on your system if you've installed apache. For Debian users, it's included in the 'liblogkit-java' package. I'm not sure about RPM-based systems. If you can't grab a package, the project homepage (http://avalon.apache.org/logkit/) has a link to a download page. So, jfor relies on jfor, xerces and logkit. My classpath looks like: /usr/share/java/jfor.jar:/usr/share/java/xerces.jar:/usr/share/java/logkit.jar Regards, David. |