Re: Unable to build xml-commons website with Forrest 0.7
Michael Glavassevich wrote: It's been a long time since I've tried building the XML Commons website and I'm not sure how to get past this. I tried to build the site with a fresh install of Forrest 0.7 (recommended in the build instructions on the XML Commons website [1]) but had no luck. Hoping someone who uses Forrest more often would have an idea what's going on here. I cannot help with those errors. One workaround to get the release published would be to disable the PDF production: In src/documentation/skinconf.xml disable-pdf-link = true In forrest.properties project.required.plugins remove pdf plugin -David
Re: Unable to build xml-commons website with Forrest 0.7
David, David Crossley cross...@apache.org wrote: Michael Glavassevich wrote: It's been a long time since I've tried building the XML Commons website and I'm not sure how to get past this. I tried to build the site with a fresh install of Forrest 0.7 (recommended in the build instructions on the XML Commons website [1]) but had no luck. Hoping someone who uses Forrest more often would have an idea what's going on here. I cannot help with those errors. One workaround to get the release published would be to disable the PDF production: In src/documentation/skinconf.xml disable-pdf-link = true In forrest.properties project.required.plugins remove pdf plugin -David Thanks, that worked well enough to get the pages I wanted generated, but it still didn't complete cleanly: Logging Error: Writing event to closed stream. Total time: 0 minutes 20 seconds, Site size: 230,302 Site pages: 38 BUILD FAILED D:\apache-forrest-0.7\main\targets\site.xml:41: Java returned: 1 I'm not going to worry about that though. Thomas, Thomas Witteriede tho...@witteriede.eu wrote: Hi, do you have any special requirements so that you are using Forrest 0.7? The current stable release (to my knowledge) is 0.8, if it is not 0.9 already. Have a go with 0.8 and if you are using Windows, it might be worth a try to use an older Java version (1.5_xx) instead of a current? one (works for me). The web page you quoted seems ancient, go to http://forrest.apache.org/docs_0_80/your-project.html#installing for a? more current doc on installing and using Forrest. Best regards Thomas I'm just trying to build an existing site (that I didn't develop aside from adding a little bit of content). I'm not sure what requirements it has, but I tried 0.8 first and it also didn't work. I vaguely remember the last time around having to pick up a dev version of 0.7 and applying at least one patch to it from SVN. Given that I couldn't get it to build cleanly with 0.7 or 0.8 I have suspicion that the XML Commons site is locked into some unreleased in-development version of Forrest (0.7?) and won't build normally without that. At least I got the pages I needed after turning PDF generation off. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org
Re: Unable to build xml-commons website with Forrest 0.7
Tim, Tim Williams william...@gmail.com wrote on 12/16/2009 07:18:02 PM: Without all the initial output from the build it's tough to say, but I wonder if you've run into a plugin version problem[1]. Would it be much trouble to upgrade to 0.8? I have no clue whether this would work or not with a 0.7 instance, but if you can't just upgrade, you might try adding a 0.1 extension to the pdf plugin - though, honestly, I haven't seen that error before in an instance like that. 0.8 (which I tried first) didn't work for me either, so gave 0.7 a spin because it was listed in the build instructions for the site. David's suggestion to turn off PDF generation did the trick. --tim [1] - http://forrest.apache.org/docs_0_80/faq.html#older-plugins Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org
Re: Unable to build xml-commons website with Forrest 0.7
David Crossley cross...@apache.org wrote on 12/17/2009 01:26:51 AM: Michael Glavassevich wrote: Tim Williams wrote: Without all the initial output from the build it's tough to say, but I wonder if you've run into a plugin version problem[1]. Would it be much trouble to upgrade to 0.8? I have no clue whether this would work or not with a 0.7 instance, but if you can't just upgrade, you might try adding a 0.1 extension to the pdf plugin - though, honestly, I haven't seen that error before in an instance like that. 0.8 (which I tried first) didn't work for me either, so gave 0.7 a spin because it was listed in the build instructions for the site. David's suggestion to turn off PDF generation did the trick. --tim [1] - http://forrest.apache.org/docs_0_80/faq.html#older-plugins Yes, i wondered if this might be the issue. The PDF plugin was upgraded recently and re-deployed. However it was not deployed properly, by incrementing its version numbers. So the currently deployed plugin cannot be used with 0.7 or 0.8 versions of Forrest. Ah. I was about to ask how this could have worked before. That explains it. I made the following change to forrest.properties to use an old version of the PDF plugin, and committed it to xml-commons today. It now works for me with Forrest-0.7 Thanks for that. I'm republishing the site right now with the PDFs. -- - project.required.plugins=org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.input.projectInfo-0. 1 +project.required.plugins=org.apache.forrest.plugin.output.pdf-0. 1,org.apache.forrest.plugin.input.projectInfo-0.1 -- We will take that up on our dev list. Sorry for the inconvenience. -David Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org