From: Paul V. <pa...@vi...> - 2008-02-12 16:07:21
|
Hi Fabio, > 1. Unable to locate tools.jar. Expected to find it in C:\Program > Files\Java\jre1.6.0_03\lib\tools.jar > perhaps I have to download some other library? or I have to install JDK > and not JRE? Oh, yes, that's an old troublemaker. Some people have the JRE and are doing fine, others get this error. Some even DO have tools.jar on their Java path and still get this error. What you could do is download the JDK, extract tools.jar, place it in the expected location, and hope that's enough. (BTW, sometimes people get this error but the build is fine anyway. In that case, the easiest solution is to simply ignore the error message). I'm still a bit puzzled by this error, because tools.jar shouldn't be necessary at all... > 2. BUILD FAILED > C:\work\CVS\firebird\manual\src\build\build.xml:707: > org.apache.avalon.framework.configuration.ConfigurationException: > Failed to resolve font with embed-url 'file:///C:/WINNT/Fonts/MSMincho.ttc' > > Where can I find font file to use? You only need MSMincho if you want to build Japanese PDFs. If so, you have to edit the file manual/config/ja/fop-userconfig.xml. Look for these lines: <font metrics-url="msmincho.xml" kerning="yes" embed-url="file:///C:/WINNT/Fonts/MSMincho.ttc"> ... ... <font metrics-url="msgothic.xml" kerning="yes" embed-url="file:///C:/WINNT/Fonts/MSGothic.ttc"> and edit the file URLs so they are correct on your machine. I think that most modern Windows versions come with these two font collections, but the location may vary. Good luck! Paul Vinkenoog |