Re: Unable to build xml-commons website with Forrest 0.7
David Crossley 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
Re: Unable to build xml-commons website with Forrest 0.7
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. 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 -- -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
Re: Unable to build xml-commons website with Forrest 0.7
Michael Glavassevich wrote: > David Crossley wrote: > > > > 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 > > 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. Yes it is a strange message with forrest-0.7 that is ignorable. > 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. That is not what i recall. At the time, 0.7 was the current release of Forrest. The XML Commons project has not updated to Forrest-0.8 yet. So the Commons documentation still says that 0.7 is the agreed version in use. The reason is as Tim described in another message today. See my later reply there. -David
Re: Unable to build xml-commons website with Forrest 0.7
Tim, Tim Williams 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, David Crossley 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 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
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
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 Michael Glavassevich schrieb: > > Hi all, > > 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. > > Here's the log from the build failure: > > Static site will be generated at: > D:\eclipse3.4.1\workspace\xml-commons-trunk\build\site > > Note that there are various reasons for "build failed" messages. > * Cocoon will report the status of each document: > - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ). > * Even if only one link is broken, you will still get "failed". > * Your site would still be generated, but some pages would be broken. > * Please check the file: > D:\eclipse3.4.1\workspace\xml-commons-trunk\build\tmp\brokenlinks.xml > for any broken links in the generated site. > > cocoon 2.2.0-dev > Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved. > > Lazy mode: true > Cannot find CatalogManager.properties > Lazy mode: true > Lazy mode: true > Lazy mode: true > Lazy mode: true > Lazy mode: true > org.apache.avalon.framework.configuration.ConfigurationException: > Error while cr > eating node 'select' at > file:/D:/apache-forrest-0.7/build/plugins/org.apache.for > rest.plugin.output.pdf/output.xmap:28:35 > at > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo > deBuilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:128) > * [1/0] [0/0] 0.375s 0b linkmap.html > at > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo > deBuilder.buildChildNodes(AbstractParentProcessingNodeBuilder.java:136) > at > org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder.b > uildNode(MatchNodeBuilder.java:76) > at > org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilde > r.buildNode(PipelineNodeBuilder.java:113) > at > org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuild > er.buildNode(PipelinesNodeBuilder.java:65) > at > org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder > .buildNode(SitemapNodeBuilder.java:70) > at > org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.createT > ree(DefaultTreeBuilder.java:296) > at > org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(D > efaultTreeBuilder.java:381) > at > org.apache.cocoon.components.treeprocessor.TreeProcessor.buildConcret > eProcessor(TreeProcessor.java:401) > at > org.apache.cocoon.components.treeprocessor.TreeProcessor.setupConcret > eProcessor(TreeProcessor.java:348) > at > org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree > Processor.java:247) > at > org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(M > ountNode.java:112) > at > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo > de.invokeNodes(AbstractParentProcessingNode.java:76) > at > org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke( > SelectNode.java:82) > at > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo > de.invokeNodes(AbstractParentProcessingNode.java:76) > at > org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok > e(PipelineNode.java:138) > at > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo > de.invokeNodes(AbstractParentProcessingNode.java:76) > at > org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo > ke(PipelinesNode.java:95) > at > org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc > ess(ConcreteTreeProcessor.java:203) > at > org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc > ess(ConcreteTreeProcessor.java:149) > at > org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree > Processor.java:248) > at > org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(M > ountNode.java:112) > at > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo > de.invokeNodes(Abstr
Unable to build xml-commons website with Forrest 0.7
Hi all, 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. Here's the log from the build failure: Static site will be generated at: D:\eclipse3.4.1\workspace\xml-commons-trunk\build\site Note that there are various reasons for "build failed" messages. * Cocoon will report the status of each document: - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ). * Even if only one link is broken, you will still get "failed".. * Your site would still be generated, but some pages would be broken. * Please check the file: D:\eclipse3.4.1\workspace\xml-commons-trunk\build\tmp\brokenlinks.xml for any broken links in the generated site. cocoon 2.2.0-dev Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved. Lazy mode: true Cannot find CatalogManager.properties Lazy mode: true Lazy mode: true Lazy mode: true Lazy mode: true Lazy mode: true org.apache.avalon.framework.configuration.ConfigurationException: Error while cr eating node 'select' at file:/D:/apache-forrest-0.7/build/plugins/org.apache.for rest.plugin.output.pdf/output.xmap:28:35 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo deBuilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:128) * [1/0] [0/0] 0.375s 0b linkmap.html at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo deBuilder.buildChildNodes(AbstractParentProcessingNodeBuilder.java:136) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder.b uildNode(MatchNodeBuilder.java:76) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilde r.buildNode(PipelineNodeBuilder.java:113) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuild er.buildNode(PipelinesNodeBuilder.java:65) at org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder .buildNode(SitemapNodeBuilder.java:70) at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.createT ree(DefaultTreeBuilder.java:296) at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(D efaultTreeBuilder.java:381) at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildConcret eProcessor(TreeProcessor.java:401) at org.apache.cocoon.components.treeprocessor.TreeProcessor.setupConcret eProcessor(TreeProcessor.java:348) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process (Tree Processor.java:247) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(M ountNode.java:112) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:76) at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke( SelectNode.java:82) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:76) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok e(PipelineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:76) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo ke(PipelinesNode.java:95) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc ess(ConcreteTreeProcessor.java:203) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc ess(ConcreteTreeProcessor.java:149) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process (Tree Processor.java:248) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(M ountNode.java:112) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:76) at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke( SelectNode.java:82) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:76) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok e(PipelineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:76) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo ke(PipelinesNode.java:95) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc ess(ConcreteTreeProcessor.java:203)