You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Clay Leeds <cl...@medata.com> on 2004/11/17 19:49:03 UTC
Forrest page Rendering / file Processing Order
Is there a mechanism which determines the order files are processed
when /forrest/ is run? It does not appear to run alphabetically. In
fact, when I run it, I can't figure out how the rendering order is
determined.
I suspect it's based on linkmap.html, but that doesn't appear to be the
case either. But the first items rendered/processed by Forrest don't
appear to be at the beginning or the end of linkmap.html.
Web Maestro Clay
--
Clay Leeds - <cl...@medata.com>
Webmaster/Developer - Medata, Inc. - <http://www.medata.com/>
PGP Public Key: <https://mail.medata.com/pgp/cleeds.asc>
Re: Forrest page Rendering / file Processing Order
Posted by Nicola Ken Barozzi <ni...@apache.org>.
Clay Leeds wrote:
> On Nov 17, 2004, at 7:26 PM, Dave Brondsema wrote:
>
>> Forrest relies on Cocoon for this; Cocoon's CLI does the traversal,
>> starting at linkmap.html. My guess is that it is not predictable
>> (using a hashmap or something), but you can poke around in the java
>> files if you want. See the files in
>> http://svn.apache.org/viewcvs.cgi/cocoon/trunk/src/java/org/apache/
>> cocoon/bean/
>>
>> Why, though? Does it matter?
>
> Matter? No. Annoying? Yes! In my quest to get xml-fop working, I am
> frequently waiting on one file to be processed: compliance.html (which
> *argh!* happens to come 3/4 of the way down the list... :-/)
Is 'forrest run' not ok to check if the page renderes ok?
> I suppose I could trick the system, and place a link to compliance.html
> on *every* page... ;-)
Or put it as the first||only link in site.xml.
--
Nicola Ken Barozzi nicolaken@apache.org
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
Re: Forrest page Rendering / file Processing Order
Posted by Clay Leeds <cl...@medata.com>.
On Nov 18, 2004, at 2:08 PM, Dave Brondsema wrote:
> Clay Leeds wrote:
>> On Nov 17, 2004, at 7:26 PM, Dave Brondsema wrote:
>>> Forrest relies on Cocoon for this; Cocoon's CLI does the traversal,
>>> starting at linkmap.html. My guess is that it is not predictable
>>> (using a hashmap or something), but you can poke around in the java
>>> files if you want. See the files in
>>> http://svn.apache.org/viewcvs.cgi/cocoon/trunk/src/java/org/apache/
>>> cocoon/bean/
>>>
>>> Why, though? Does it matter?
>> Matter? No. Annoying? Yes! In my quest to get xml-fop working, I am
>> frequently waiting on one file to be processed: compliance.html
>> (which *argh!* happens to come 3/4 of the way down the list... :-/)
>> I suppose I could trick the system, and place a link to
>> compliance.html on *every* page... ;-)
>> Web Maestro Clay
>> p.s. Thanks for indulging me with a decent, searchable answer to my
>> question! I think it will fit nicely in the archives... I appreciate
>> it!
>
> forrest -Dproject.start-uri=compliance.html
>
> That'll start at compliance.html instead of linkmap.html
Thank you very much! It works like a charm! That would be a good thing
to add to the docs, although I don't know where. Perhaps the FAQ?
Thanks again! And thanks to Nicola Ken for his suggestion as well.
Web Maestro Clay
--
Clay Leeds - <cl...@medata.com>
Webmaster/Developer - Medata, Inc. - <http://www.medata.com/>
PGP Public Key: <https://mail.medata.com/pgp/cleeds.asc>
Re: Forrest page Rendering / file Processing Order
Posted by Dave Brondsema <da...@brondsema.net>.
Clay Leeds wrote:
> On Nov 17, 2004, at 7:26 PM, Dave Brondsema wrote:
>
>> Forrest relies on Cocoon for this; Cocoon's CLI does the traversal,
>> starting at linkmap.html. My guess is that it is not predictable
>> (using a hashmap or something), but you can poke around in the java
>> files if you want. See the files in
>> http://svn.apache.org/viewcvs.cgi/cocoon/trunk/src/java/org/apache/
>> cocoon/bean/
>>
>> Why, though? Does it matter?
>
>
> Matter? No. Annoying? Yes! In my quest to get xml-fop working, I am
> frequently waiting on one file to be processed: compliance.html (which
> *argh!* happens to come 3/4 of the way down the list... :-/)
>
> I suppose I could trick the system, and place a link to compliance.html
> on *every* page... ;-)
>
> Web Maestro Clay
>
> p.s. Thanks for indulging me with a decent, searchable answer to my
> question! I think it will fit nicely in the archives... I appreciate it!
forrest -Dproject.start-uri=compliance.html
That'll start at compliance.html instead of linkmap.html
--
Dave Brondsema : dave@brondsema.net
http://www.splike.com : programming
http://csx.calvin.edu : student org
http://www.brondsema.net : personal
Re: Forrest page Rendering / file Processing Order
Posted by Clay Leeds <cl...@medata.com>.
On Nov 17, 2004, at 7:26 PM, Dave Brondsema wrote:
> Forrest relies on Cocoon for this; Cocoon's CLI does the traversal,
> starting at linkmap.html. My guess is that it is not predictable
> (using a hashmap or something), but you can poke around in the java
> files if you want. See the files in
> http://svn.apache.org/viewcvs.cgi/cocoon/trunk/src/java/org/apache/
> cocoon/bean/
>
> Why, though? Does it matter?
Matter? No. Annoying? Yes! In my quest to get xml-fop working, I am
frequently waiting on one file to be processed: compliance.html (which
*argh!* happens to come 3/4 of the way down the list... :-/)
I suppose I could trick the system, and place a link to compliance.html
on *every* page... ;-)
Web Maestro Clay
p.s. Thanks for indulging me with a decent, searchable answer to my
question! I think it will fit nicely in the archives... I appreciate
it!
--
Clay Leeds - <cl...@medata.com>
Webmaster/Developer - Medata, Inc. - <http://www.medata.com/>
PGP Public Key: <https://mail.medata.com/pgp/cleeds.asc>
Re: Forrest page Rendering / file Processing Order
Posted by Dave Brondsema <da...@brondsema.net>.
Clay Leeds wrote:
> Is there a mechanism which determines the order files are processed when
> /forrest/ is run? It does not appear to run alphabetically. In fact,
> when I run it, I can't figure out how the rendering order is determined.
>
> I suspect it's based on linkmap.html, but that doesn't appear to be the
> case either. But the first items rendered/processed by Forrest don't
> appear to be at the beginning or the end of linkmap.html.
>
> Web Maestro Clay
Forrest relies on Cocoon for this; Cocoon's CLI does the traversal,
starting at linkmap.html. My guess is that it is not predictable (using
a hashmap or something), but you can poke around in the java files if
you want. See the files in
http://svn.apache.org/viewcvs.cgi/cocoon/trunk/src/java/org/apache/cocoon/bean/
Why, though? Does it matter?
--
Dave Brondsema : dave@brondsema.net
http://www.splike.com : programming
http://csx.calvin.edu : student org
http://www.brondsema.net : personal