You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Martin Minka <ma...@gmail.com> on 2006/07/19 18:32:57 UTC

Follow/debug Forrest's work

Is there a way to see/log how Forrest is handling the files ?
What I need to see is, how the maps are applied to the files and correct
them if I did a mistake.

Thank you,
Martin

Re: Follow/debug Forrest's work

Posted by Ross Gardler <rg...@apache.org>.
David Crossley wrote:
> Martin Minka wrote:
> 
>>I am using apache-forrest-0.7 on Windows. I tired what is described in
>>http://forrest.apache.org/howto-dev.html#debug, bu I am not able:
>>1. to enable profiler, I got "Could not find component for role:
>>[org.apache.cocoon.components.profiler.Profiler]
>>(Key='org.apache.cocoon.components.profiler.Profiler')"
>>2. enable Cocoon sitemap execution logger, I am not able to find "sitemap
>>execution" in main/webapp/WEB-INF/xconf/forrest-core.xconf
> 
> 
> Those are available in forrest-0.8-dev

Sorry, I didn't realise these were 0.8-dev specific, we should't have 
them in the FAQ for 0.7

> If you are just exploring Forrest then perhaps better
> to dive in and use the current trunk development via Subversion.

I've recomended in another thread that Martin should switch to 0.8-dev 
as it will help him with the docbook plugin Nigel is planing to donate. 
Being able to use these new debug features is also a good reason.

Ross

Re: Follow/debug Forrest's work

Posted by Tim Williams <wi...@gmail.com>.
I couldn't reply earlier, but I did try your sitemap/file/etc with the
simple-docbook xsl and the file came up fine.  As Thorsten says, look
in your logs and try to give us more info.
--tim

On 7/22/06, Martin Minka <ma...@gmail.com> wrote:
> no, if it would not exist I would get message:
> Internal Server Error
>
> Message: null
>
> Description: No details available.
>
> Sender: org.apache.cocoon.servlet.CocoonServlet
>
> Source: Cocoon Servlet
>
> Request URI
>
> docbook_k2doc.html
>
> cause
>
> C:\k2s\Vyvoj\forrest\src\documentation\resources\stylesheets\docbook\html\do
> cbook.xsl (The system cannot find the path specified)
>
> request-uri
>
> /docbook_k2doc.html
>
> Apache Cocoon 2.2.0-dev
>
> -----Original Message-----
> From: Thorsten Scherler [mailto:thorsten@apache.org]
> Sent: Saturday, July 22, 2006 2:07 PM
> To: user@forrest.apache.org
> Subject: RE: Follow/debug Forrest's work
>
> El sáb, 22-07-2006 a las 11:05 +0200, Martin Minka escribió:
> > 1. I installed 0.8-dev from SVN.
> > 2. seeded new forrest
> > 3. copied DocBook4.4 XSL files to
> > {project:resources.stylesheets}\docbook
>
> hmm, in your sitemap you define
>
> <map:transform src="{project:resources.stylesheets}\docbook\html
> \docbook.xsl" />
>
> Can it be that this location just do not exist?
>
> salu2
>
> > 4. created attached sitemap.xmap
> > 5. created attached file docbook_k2doc.xml and placed it into xdocs (I
> > tested it before with other DocBook2HTML generator)
> >
> > Forrest is reporting error:
> > Internal Server Error
> >
> > Message: null
> >
> > Description: No details available.
> >
> > Sender: org.apache.cocoon.servlet.CocoonServlet
> >
> > Source: Cocoon Servlet
> >
> > Request URI
> >
> > docbook_k2doc.html
> >
> > cause
> >
> > null
> >
> > request-uri
> >
> > /docbook_k2doc.html
> >
> > Apache Cocoon 2.2.0-dev
> >
> >
> > I have no idea what is wrong.
> >
> > Pls. advice me what to do.
> >
> >
> > -----Original Message-----
> > From: David Crossley [mailto:crossley@apache.org]
> > Sent: Thursday, July 20, 2006 4:08 AM
> > To: user@forrest.apache.org
> > Subject: Re: Follow/debug Forrest's work
> >
> > Martin Minka wrote:
> > > I am using apache-forrest-0.7 on Windows. I tired what is described
> > > in http://forrest.apache.org/howto-dev.html#debug, bu I am not able:
> > > 1. to enable profiler, I got "Could not find component for role:
> > > [org.apache.cocoon.components.profiler.Profiler]
> > > (Key='org.apache.cocoon.components.profiler.Profiler')"
> > > 2. enable Cocoon sitemap execution logger, I am not able to find
> > > "sitemap execution" in main/webapp/WEB-INF/xconf/forrest-core.xconf
> >
> > Those are available in forrest-0.8-dev
> >
> > Regarding item 2, you can probably find the relevant changes in
> > forrest/trunk main/webapp/WEB-INF/xconf/forrest-core.xconf
> > and apply them to your forrest-0.7 version.
> >
> > Here is how (a verbose description for the benefit of others) ...
> >
> > For those that already have a Subversion checkout of the forrest trunk
> > 0.8-dev:
> >  svn log main/webapp/WEB-INF/xconf/forrest-core.xconf
> >
> > Otherwise use the web interface:
> > http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/xconf/f
> > orrest
> > -core.xconf
> >
> > Now look for the relevant change, i.e. "sitemap execution".
> >
> > It is Revision 365510. Follow that link to see the associated changes.
> > As you can see the logkit.xconf changes can be ignored. Apply the
> > changes to your forrest-core.xconf
> >
> > That should work in this case. With backporting other changes, YMMV.
> >
> > If you are just exploring Forrest then perhaps better to dive in and
> > use the current trunk development via Subversion.
> >
> > -David
> --
> thorsten
>
> "Together we stand, divided we fall!"
> Hey you (Pink Floyd)
>
>

RE: Follow/debug Forrest's work

Posted by Martin Minka <ma...@gmail.com>.
I am very very sorry. I did change in my configuration to find out how
Forrest will tell me that XSL is missing and forgot to correct it.
Now I included the log files with the real problem.

Sorry again.

-----Original Message-----
From: Ross Gardler [mailto:rgardler@apache.org] 
Sent: Monday, July 24, 2006 11:26 AM
To: user@forrest.apache.org
Subject: Re: Follow/debug Forrest's work

Martin Minka wrote:
> I am using 0.8-dev and enabled debug in forrest-core.xconf:

first line of your supplied log:

file:/C:/k2s/Vyvoj/forrest/src/documentation/resources/stylesheets/docbook/h
tml/docbook.xsl
doesn't exist

Make sure this resource exists.

Ross

Re: Follow/debug Forrest's work

Posted by Ross Gardler <rg...@apache.org>.
Martin Minka wrote:
> I am using 0.8-dev and enabled debug in forrest-core.xconf:

first line of your supplied log:

file:/C:/k2s/Vyvoj/forrest/src/documentation/resources/stylesheets/docbook/html/docbook.xsl 
doesn't exist

Make sure this resource exists.

Ross

RE: Follow/debug Forrest's work

Posted by Martin Minka <ma...@gmail.com>.
I am using 0.8-dev and enabled debug in forrest-core.xconf:
<component role="org.apache.cocoon.sitemap.SitemapExecutor"
  class="org.apache.cocoon.profiler.debugging.SimpleSitemapExecutor"
  logger="debug"/>


-----Original Message-----
From: Thorsten Scherler [mailto:thorsten@apache.org] 
Sent: Saturday, July 22, 2006 4:48 PM
To: user@forrest.apache.org
Subject: RE: Follow/debug Forrest's work

What does the logs say?

cd yourProject
tail -f build/webapp/WEB-INF/logs/*.log

The error you provided could be anything we need more information.

salu2

El sáb, 22-07-2006 a las 15:34 +0200, Martin Minka escribió:
> no, if it would not exist I would get message:
> Internal Server Error
> 
> Message: null
> 
> Description: No details available.
> 
> Sender: org.apache.cocoon.servlet.CocoonServlet
> 
> Source: Cocoon Servlet
> 
> Request URI
> 
> docbook_k2doc.html
> 
> cause
> 
> C:\k2s\Vyvoj\forrest\src\documentation\resources\stylesheets\docbook\h
> tml\do cbook.xsl (The system cannot find the path specified)
> 
> request-uri
> 
> /docbook_k2doc.html
> 
> Apache Cocoon 2.2.0-dev
> 
> -----Original Message-----
> From: Thorsten Scherler [mailto:thorsten@apache.org]
> Sent: Saturday, July 22, 2006 2:07 PM
> To: user@forrest.apache.org
> Subject: RE: Follow/debug Forrest's work
> 
> El sáb, 22-07-2006 a las 11:05 +0200, Martin Minka escribió:
> > 1. I installed 0.8-dev from SVN.
> > 2. seeded new forrest
> > 3. copied DocBook4.4 XSL files to
> > {project:resources.stylesheets}\docbook
> 
> hmm, in your sitemap you define
> 
> <map:transform src="{project:resources.stylesheets}\docbook\html
> \docbook.xsl" />
> 
> Can it be that this location just do not exist?
> 
> salu2
> 
> > 4. created attached sitemap.xmap
> > 5. created attached file docbook_k2doc.xml and placed it into xdocs 
> > (I tested it before with other DocBook2HTML generator)
> > 
> > Forrest is reporting error:
> > Internal Server Error
> > 
> > Message: null
> > 
> > Description: No details available.
> > 
> > Sender: org.apache.cocoon.servlet.CocoonServlet
> > 
> > Source: Cocoon Servlet
> > 
> > Request URI
> > 
> > docbook_k2doc.html
> > 
> > cause
> > 
> > null
> > 
> > request-uri
> > 
> > /docbook_k2doc.html
> > 
> > Apache Cocoon 2.2.0-dev
> > 
> > 
> > I have no idea what is wrong.
> > 
> > Pls. advice me what to do.
> > 
> > 
> > -----Original Message-----
> > From: David Crossley [mailto:crossley@apache.org]
> > Sent: Thursday, July 20, 2006 4:08 AM
> > To: user@forrest.apache.org
> > Subject: Re: Follow/debug Forrest's work
> > 
> > Martin Minka wrote:
> > > I am using apache-forrest-0.7 on Windows. I tired what is 
> > > described in http://forrest.apache.org/howto-dev.html#debug, bu I am
not able:
> > > 1. to enable profiler, I got "Could not find component for role:
> > > [org.apache.cocoon.components.profiler.Profiler]
> > > (Key='org.apache.cocoon.components.profiler.Profiler')"
> > > 2. enable Cocoon sitemap execution logger, I am not able to find 
> > > "sitemap execution" in 
> > > main/webapp/WEB-INF/xconf/forrest-core.xconf
> > 
> > Those are available in forrest-0.8-dev
> > 
> > Regarding item 2, you can probably find the relevant changes in 
> > forrest/trunk main/webapp/WEB-INF/xconf/forrest-core.xconf
> > and apply them to your forrest-0.7 version.
> > 
> > Here is how (a verbose description for the benefit of others) ...
> > 
> > For those that already have a Subversion checkout of the forrest 
> > trunk
> > 0.8-dev:
> >  svn log main/webapp/WEB-INF/xconf/forrest-core.xconf
> > 
> > Otherwise use the web interface:
> > http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/xconf
> > /f
> > orrest
> > -core.xconf
> > 
> > Now look for the relevant change, i.e. "sitemap execution".
> > 
> > It is Revision 365510. Follow that link to see the associated changes. 
> > As you can see the logkit.xconf changes can be ignored. Apply the 
> > changes to your forrest-core.xconf
> > 
> > That should work in this case. With backporting other changes, YMMV.
> > 
> > If you are just exploring Forrest then perhaps better to dive in and 
> > use the current trunk development via Subversion.
> > 
> > -David
> --
> thorsten
> 
> "Together we stand, divided we fall!" 
> Hey you (Pink Floyd)
> 
--
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)

RE: Follow/debug Forrest's work

Posted by Thorsten Scherler <th...@apache.org>.
What does the logs say?

cd yourProject
tail -f build/webapp/WEB-INF/logs/*.log

The error you provided could be anything we need more information.

salu2

El sáb, 22-07-2006 a las 15:34 +0200, Martin Minka escribió:
> no, if it would not exist I would get message:
> Internal Server Error
> 
> Message: null
> 
> Description: No details available.
> 
> Sender: org.apache.cocoon.servlet.CocoonServlet
> 
> Source: Cocoon Servlet
> 
> Request URI
> 
> docbook_k2doc.html
> 
> cause
> 
> C:\k2s\Vyvoj\forrest\src\documentation\resources\stylesheets\docbook\html\do
> cbook.xsl (The system cannot find the path specified)
> 
> request-uri
> 
> /docbook_k2doc.html
> 
> Apache Cocoon 2.2.0-dev 
> 
> -----Original Message-----
> From: Thorsten Scherler [mailto:thorsten@apache.org] 
> Sent: Saturday, July 22, 2006 2:07 PM
> To: user@forrest.apache.org
> Subject: RE: Follow/debug Forrest's work
> 
> El sáb, 22-07-2006 a las 11:05 +0200, Martin Minka escribió:
> > 1. I installed 0.8-dev from SVN.
> > 2. seeded new forrest
> > 3. copied DocBook4.4 XSL files to 
> > {project:resources.stylesheets}\docbook
> 
> hmm, in your sitemap you define
> 
> <map:transform src="{project:resources.stylesheets}\docbook\html
> \docbook.xsl" />
> 
> Can it be that this location just do not exist?
> 
> salu2
> 
> > 4. created attached sitemap.xmap
> > 5. created attached file docbook_k2doc.xml and placed it into xdocs (I 
> > tested it before with other DocBook2HTML generator)
> > 
> > Forrest is reporting error:
> > Internal Server Error
> > 
> > Message: null
> > 
> > Description: No details available.
> > 
> > Sender: org.apache.cocoon.servlet.CocoonServlet
> > 
> > Source: Cocoon Servlet
> > 
> > Request URI
> > 
> > docbook_k2doc.html
> > 
> > cause
> > 
> > null
> > 
> > request-uri
> > 
> > /docbook_k2doc.html
> > 
> > Apache Cocoon 2.2.0-dev
> > 
> > 
> > I have no idea what is wrong.
> > 
> > Pls. advice me what to do.
> > 
> > 
> > -----Original Message-----
> > From: David Crossley [mailto:crossley@apache.org]
> > Sent: Thursday, July 20, 2006 4:08 AM
> > To: user@forrest.apache.org
> > Subject: Re: Follow/debug Forrest's work
> > 
> > Martin Minka wrote:
> > > I am using apache-forrest-0.7 on Windows. I tired what is described 
> > > in http://forrest.apache.org/howto-dev.html#debug, bu I am not able:
> > > 1. to enable profiler, I got "Could not find component for role:
> > > [org.apache.cocoon.components.profiler.Profiler]
> > > (Key='org.apache.cocoon.components.profiler.Profiler')"
> > > 2. enable Cocoon sitemap execution logger, I am not able to find 
> > > "sitemap execution" in main/webapp/WEB-INF/xconf/forrest-core.xconf
> > 
> > Those are available in forrest-0.8-dev
> > 
> > Regarding item 2, you can probably find the relevant changes in 
> > forrest/trunk main/webapp/WEB-INF/xconf/forrest-core.xconf
> > and apply them to your forrest-0.7 version.
> > 
> > Here is how (a verbose description for the benefit of others) ...
> > 
> > For those that already have a Subversion checkout of the forrest trunk
> > 0.8-dev:
> >  svn log main/webapp/WEB-INF/xconf/forrest-core.xconf
> > 
> > Otherwise use the web interface:
> > http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/xconf/f
> > orrest
> > -core.xconf
> > 
> > Now look for the relevant change, i.e. "sitemap execution".
> > 
> > It is Revision 365510. Follow that link to see the associated changes. 
> > As you can see the logkit.xconf changes can be ignored. Apply the 
> > changes to your forrest-core.xconf
> > 
> > That should work in this case. With backporting other changes, YMMV.
> > 
> > If you are just exploring Forrest then perhaps better to dive in and 
> > use the current trunk development via Subversion.
> > 
> > -David
> --
> thorsten
> 
> "Together we stand, divided we fall!" 
> Hey you (Pink Floyd)
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


RE: Follow/debug Forrest's work

Posted by Martin Minka <ma...@gmail.com>.
no, if it would not exist I would get message:
Internal Server Error

Message: null

Description: No details available.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

Request URI

docbook_k2doc.html

cause

C:\k2s\Vyvoj\forrest\src\documentation\resources\stylesheets\docbook\html\do
cbook.xsl (The system cannot find the path specified)

request-uri

/docbook_k2doc.html

Apache Cocoon 2.2.0-dev 

-----Original Message-----
From: Thorsten Scherler [mailto:thorsten@apache.org] 
Sent: Saturday, July 22, 2006 2:07 PM
To: user@forrest.apache.org
Subject: RE: Follow/debug Forrest's work

El sáb, 22-07-2006 a las 11:05 +0200, Martin Minka escribió:
> 1. I installed 0.8-dev from SVN.
> 2. seeded new forrest
> 3. copied DocBook4.4 XSL files to 
> {project:resources.stylesheets}\docbook

hmm, in your sitemap you define

<map:transform src="{project:resources.stylesheets}\docbook\html
\docbook.xsl" />

Can it be that this location just do not exist?

salu2

> 4. created attached sitemap.xmap
> 5. created attached file docbook_k2doc.xml and placed it into xdocs (I 
> tested it before with other DocBook2HTML generator)
> 
> Forrest is reporting error:
> Internal Server Error
> 
> Message: null
> 
> Description: No details available.
> 
> Sender: org.apache.cocoon.servlet.CocoonServlet
> 
> Source: Cocoon Servlet
> 
> Request URI
> 
> docbook_k2doc.html
> 
> cause
> 
> null
> 
> request-uri
> 
> /docbook_k2doc.html
> 
> Apache Cocoon 2.2.0-dev
> 
> 
> I have no idea what is wrong.
> 
> Pls. advice me what to do.
> 
> 
> -----Original Message-----
> From: David Crossley [mailto:crossley@apache.org]
> Sent: Thursday, July 20, 2006 4:08 AM
> To: user@forrest.apache.org
> Subject: Re: Follow/debug Forrest's work
> 
> Martin Minka wrote:
> > I am using apache-forrest-0.7 on Windows. I tired what is described 
> > in http://forrest.apache.org/howto-dev.html#debug, bu I am not able:
> > 1. to enable profiler, I got "Could not find component for role:
> > [org.apache.cocoon.components.profiler.Profiler]
> > (Key='org.apache.cocoon.components.profiler.Profiler')"
> > 2. enable Cocoon sitemap execution logger, I am not able to find 
> > "sitemap execution" in main/webapp/WEB-INF/xconf/forrest-core.xconf
> 
> Those are available in forrest-0.8-dev
> 
> Regarding item 2, you can probably find the relevant changes in 
> forrest/trunk main/webapp/WEB-INF/xconf/forrest-core.xconf
> and apply them to your forrest-0.7 version.
> 
> Here is how (a verbose description for the benefit of others) ...
> 
> For those that already have a Subversion checkout of the forrest trunk
> 0.8-dev:
>  svn log main/webapp/WEB-INF/xconf/forrest-core.xconf
> 
> Otherwise use the web interface:
> http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/xconf/f
> orrest
> -core.xconf
> 
> Now look for the relevant change, i.e. "sitemap execution".
> 
> It is Revision 365510. Follow that link to see the associated changes. 
> As you can see the logkit.xconf changes can be ignored. Apply the 
> changes to your forrest-core.xconf
> 
> That should work in this case. With backporting other changes, YMMV.
> 
> If you are just exploring Forrest then perhaps better to dive in and 
> use the current trunk development via Subversion.
> 
> -David
--
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


RE: Follow/debug Forrest's work

Posted by Thorsten Scherler <th...@apache.org>.
El sáb, 22-07-2006 a las 11:05 +0200, Martin Minka escribió:
> 1. I installed 0.8-dev from SVN.
> 2. seeded new forrest
> 3. copied DocBook4.4 XSL files to {project:resources.stylesheets}\docbook

hmm, in your sitemap you define

<map:transform src="{project:resources.stylesheets}\docbook\html
\docbook.xsl" />

Can it be that this location just do not exist?

salu2

> 4. created attached sitemap.xmap
> 5. created attached file docbook_k2doc.xml and placed it into xdocs (I
> tested it before with other DocBook2HTML generator)
> 
> Forrest is reporting error:
> Internal Server Error
> 
> Message: null
> 
> Description: No details available.
> 
> Sender: org.apache.cocoon.servlet.CocoonServlet
> 
> Source: Cocoon Servlet
> 
> Request URI
> 
> docbook_k2doc.html
> 
> cause
> 
> null
> 
> request-uri
> 
> /docbook_k2doc.html
> 
> Apache Cocoon 2.2.0-dev
> 
> 
> I have no idea what is wrong.
> 
> Pls. advice me what to do.
> 
> 
> -----Original Message-----
> From: David Crossley [mailto:crossley@apache.org] 
> Sent: Thursday, July 20, 2006 4:08 AM
> To: user@forrest.apache.org
> Subject: Re: Follow/debug Forrest's work
> 
> Martin Minka wrote:
> > I am using apache-forrest-0.7 on Windows. I tired what is described in 
> > http://forrest.apache.org/howto-dev.html#debug, bu I am not able:
> > 1. to enable profiler, I got "Could not find component for role:
> > [org.apache.cocoon.components.profiler.Profiler]
> > (Key='org.apache.cocoon.components.profiler.Profiler')"
> > 2. enable Cocoon sitemap execution logger, I am not able to find 
> > "sitemap execution" in main/webapp/WEB-INF/xconf/forrest-core.xconf
> 
> Those are available in forrest-0.8-dev
> 
> Regarding item 2, you can probably find the relevant changes in
> forrest/trunk main/webapp/WEB-INF/xconf/forrest-core.xconf
> and apply them to your forrest-0.7 version.
> 
> Here is how (a verbose description for the benefit of others) ...
> 
> For those that already have a Subversion checkout of the forrest trunk
> 0.8-dev:
>  svn log main/webapp/WEB-INF/xconf/forrest-core.xconf
> 
> Otherwise use the web interface:
> http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/xconf/forrest
> -core.xconf
> 
> Now look for the relevant change, i.e. "sitemap execution".
> 
> It is Revision 365510. Follow that link to see the associated changes. As
> you can see the logkit.xconf changes can be ignored. Apply the changes to
> your forrest-core.xconf
> 
> That should work in this case. With backporting other changes, YMMV.
> 
> If you are just exploring Forrest then perhaps better to dive in and use the
> current trunk development via Subversion.
> 
> -David
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


RE: Follow/debug Forrest's work

Posted by Martin Minka <ma...@gmail.com>.
1. I installed 0.8-dev from SVN.
2. seeded new forrest
3. copied DocBook4.4 XSL files to {project:resources.stylesheets}\docbook
4. created attached sitemap.xmap
5. created attached file docbook_k2doc.xml and placed it into xdocs (I
tested it before with other DocBook2HTML generator)

Forrest is reporting error:
Internal Server Error

Message: null

Description: No details available.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

Request URI

docbook_k2doc.html

cause

null

request-uri

/docbook_k2doc.html

Apache Cocoon 2.2.0-dev


I have no idea what is wrong.

Pls. advice me what to do.


-----Original Message-----
From: David Crossley [mailto:crossley@apache.org] 
Sent: Thursday, July 20, 2006 4:08 AM
To: user@forrest.apache.org
Subject: Re: Follow/debug Forrest's work

Martin Minka wrote:
> I am using apache-forrest-0.7 on Windows. I tired what is described in 
> http://forrest.apache.org/howto-dev.html#debug, bu I am not able:
> 1. to enable profiler, I got "Could not find component for role:
> [org.apache.cocoon.components.profiler.Profiler]
> (Key='org.apache.cocoon.components.profiler.Profiler')"
> 2. enable Cocoon sitemap execution logger, I am not able to find 
> "sitemap execution" in main/webapp/WEB-INF/xconf/forrest-core.xconf

Those are available in forrest-0.8-dev

Regarding item 2, you can probably find the relevant changes in
forrest/trunk main/webapp/WEB-INF/xconf/forrest-core.xconf
and apply them to your forrest-0.7 version.

Here is how (a verbose description for the benefit of others) ...

For those that already have a Subversion checkout of the forrest trunk
0.8-dev:
 svn log main/webapp/WEB-INF/xconf/forrest-core.xconf

Otherwise use the web interface:
http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/xconf/forrest
-core.xconf

Now look for the relevant change, i.e. "sitemap execution".

It is Revision 365510. Follow that link to see the associated changes. As
you can see the logkit.xconf changes can be ignored. Apply the changes to
your forrest-core.xconf

That should work in this case. With backporting other changes, YMMV.

If you are just exploring Forrest then perhaps better to dive in and use the
current trunk development via Subversion.

-David

Re: Follow/debug Forrest's work

Posted by David Crossley <cr...@apache.org>.
Martin Minka wrote:
> I am using apache-forrest-0.7 on Windows. I tired what is described in
> http://forrest.apache.org/howto-dev.html#debug, bu I am not able:
> 1. to enable profiler, I got "Could not find component for role:
> [org.apache.cocoon.components.profiler.Profiler]
> (Key='org.apache.cocoon.components.profiler.Profiler')"
> 2. enable Cocoon sitemap execution logger, I am not able to find "sitemap
> execution" in main/webapp/WEB-INF/xconf/forrest-core.xconf

Those are available in forrest-0.8-dev

Regarding item 2, you can probably find the relevant changes
in forrest/trunk main/webapp/WEB-INF/xconf/forrest-core.xconf
and apply them to your forrest-0.7 version.

Here is how (a verbose description for the benefit of others) ...

For those that already have a Subversion checkout of the
forrest trunk 0.8-dev:
 svn log main/webapp/WEB-INF/xconf/forrest-core.xconf

Otherwise use the web interface:
http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf

Now look for the relevant change, i.e. "sitemap execution".

It is Revision 365510. Follow that link to see the
associated changes. As you can see the logkit.xconf
changes can be ignored. Apply the changes to your
forrest-core.xconf

That should work in this case. With backporting other
changes, YMMV.

If you are just exploring Forrest then perhaps better
to dive in and use the current trunk development via Subversion.

-David

RE: Follow/debug Forrest's work

Posted by Martin Minka <ma...@gmail.com>.
I am using apache-forrest-0.7 on Windows. I tired what is described in
http://forrest.apache.org/howto-dev.html#debug, bu I am not able:
1. to enable profiler, I got "Could not find component for role:
[org.apache.cocoon.components.profiler.Profiler]
(Key='org.apache.cocoon.components.profiler.Profiler')"
2. enable Cocoon sitemap execution logger, I am not able to find "sitemap
execution" in main/webapp/WEB-INF/xconf/forrest-core.xconf

Please advice,
Martin

-----Original Message-----
From: Ross Gardler [mailto:rgardler@apache.org] 
Sent: Wednesday, July 19, 2006 7:27 PM
To: user@forrest.apache.org
Subject: Re: Follow/debug Forrest's work

Martin Minka wrote:
> Is there a way to see/log how Forrest is handling the files ?
> What I need to see is, how the maps are applied to the files and 
> correct them if I did a mistake.

http://forrest.apache.org/howto-dev.html#debug

Ross


Re: Follow/debug Forrest's work

Posted by Ross Gardler <rg...@apache.org>.
Martin Minka wrote:
> Is there a way to see/log how Forrest is handling the files ?
> What I need to see is, how the maps are applied to the files and correct 
> them if I did a mistake.

http://forrest.apache.org/howto-dev.html#debug

Ross