forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Re: using ForrestBot (Was: [PATCH] acorn.xml: bootstrapping new projects)
Date Mon, 19 Aug 2002 09:49:05 GMT
Thanks for the helping debug this.

On Mon, Aug 19, 2002 at 02:04:18PM +1000, David Crossley wrote:
> Jeff Turner wrote:
> > David Crossley wrote:
> > ERROR   2002-08-18 20:55:57.978 [sitemap ] (): Error while processing pipeline at
> > org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ResourceNotFoundException:
Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found
> It sounds like some separate issues. Your ForrestBot is
> building the main Forrest project doco here.

Indeed it is (after examining build/bot/projects/...).

> When you copied the forrestbot.conf.xml to testproj.conf.xml
> did you remove the old <project>+ entries and put your own?


> Another possibility - if /home/jeff/testproj/testproj.conf.xml
> path is wrong, then it will use $FORREST_HOME/forrestbot.conf.xml
> and build the main project doco.

It's correct:

jeff@expresso:~$ ls  /home/jeff/testproj
acorn.xml  src  status.xml  testproj.conf.xml

> Aha. I just noticed something that may be the cause.
> If you do not do a 'build clean' before running forrestbot
> then it just re-runs the previous build. So if you had
> done a plain './ bot' then forrestbot would try to
> build the default Forrest doco. If you immediately follow
> that with building your own project:
>  ./ bot -Dbot.forrestbot.xconf=$HOME/yourproject.conf.xml
> then forrestbot does not build your project but repeats the
> default build.

That's good to know, but I was playing safe and doing 'rm -r build' between
builds anyway. Confirmed again today.

> Also, it seems that your xml-forrest CVS is not up-to-date.
> The doc your-project.html is certainly linked from changes.html
> and it should be there at xdocs/your-project.xml
> Does the normal "./ clean docs" work for you?

Aha.. hehe.. ahahaha.. Houston, you have a problem.. :)

Are you using Forrest's docs in a different directory to test Forrestbot? Then
it will be using files from xml-forrest/ and you'd never be able to tell the
difference :)

I used acorn.xml to generate a basic, known-to-build, doc setup.  If I swap the
acorn-generated content for xml-forrest/src/documentation, then it all builds
fine with forrestbot.

Attached is a .tgz of the context I'm trying to build with Forrestbot, that
should show up the problem.


> --David

View raw message