You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@incubator.apache.org by "Geir Magnusson Jr." <ge...@apache.org> on 2005/12/11 18:05:00 UTC

Forrest woes

I'm trying to fix the incubator website for geronimo related stuff.   
There's a file projects/geronimo.cwiki that I want to add info to  
point it to the main project site.

I'm using forrest 0.7.

I've modified my pages in minor and trivial ways.

Every time I run

$ forrest

it seems to crawl through site-author and generate content, except  
for geronimo.cwiki.  I don't understand this.  (Why does it always  
regen things that haven't been touched????)

When I run

$ forrest run

and look at projects/geronimo.html in my browser, it reflects the  
changes I made to the file.  However, when I go look on disk, nothing  
seems to be changed.

Given that "principle of maximum surprise" appears to be in operation  
here, I figure I'm just being dumb and doing something wrong.  I want  
to be sure that my changes are good because I'm using cwiki rather  
than HTML before I check in and publish on the public site.

What am I doing wrong here?

geir



-- 
Geir Magnusson Jr                                  +1-203-665-6437
geirm@apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Re: Forrest woes

Posted by David Crossley <cr...@apache.org>.
Geir Magnusson Jr. wrote:
> I'm trying to fix the incubator website for geronimo related stuff.   
> There's a file projects/geronimo.cwiki that I want to add info to  
> point it to the main project site.
> 
> I'm using forrest 0.7.

http://incubator.apache.org/guides/website.html 
Need svn forrest_07_branch.

That is why there appeared to be so many changes to the
generated stuff in site-publish.

> I've modified my pages in minor and trivial ways.
> 
> Every time I run
> 
> $ forrest
> 
> it seems to crawl through site-author and generate content, except  
> for geronimo.cwiki.  I don't understand this.  (Why does it always  
> regen things that haven't been touched????)

It should certainly generate projects/geronimo.html

Regarding the "generate everything" issue. Sorry,
that is the way things are with Cocoon. It needs to
crawl everying in case new links were added. There is
a trick to help with that at:
http://forrest.apache.org/faq.html#single-document

> When I run
> 
> $ forrest run
> 
> and look at projects/geronimo.html in my browser, it reflects the  
> changes I made to the file.  However, when I go look on disk, nothing  
> seems to be changed.
> 
> Given that "principle of maximum surprise" appears to be in operation  
> here, I figure I'm just being dumb and doing something wrong.  I want  
> to be sure that my changes are good because I'm using cwiki rather  
> than HTML before I check in and publish on the public site.
> 
> What am I doing wrong here?

You removed the link from site-author/projects/index.html
and pointed to the geronimo.apache.org instead. So now
it won't bother about your project status page.
See other email today on that topic.

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org