forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhatia Praveen, HCLT-Japan" <>
Subject RE: Locating org.apache.cocoon.components.CocoonComponentManager
Date Sun, 12 Dec 2004 02:44:51 GMT
     Thanks. Yes, I am using fins with cocoon 2.1.6 so that could make the

     Does forrest 0.6 also use cocoon 2.2?

     Basically, Fins wrapper is using CocoonComponentManager to the get the
evironment and set the background image as shown in the snippet below:

SourceResolver resolver = CocoonComponentManager.getCurrentEnvironment();

InputStream is = resolver.resolveURI(backgroundImage,
     Any hints as to what should I being doing in forrest to do the


-----Original Message-----
From: Upayavira
Sent: 2004/12/12 4:44
Subject: Re: Locating org.apache.cocoon.components.CocoonComponentManager

Bhatia Praveen, HCLT-Japan wrote:

>   In writing blocks of cocoon in Forrest (for Fins block) I need
access to
>the following class for building forrest with Fins wrappers:
> org.apache.cocoon.components.CocoonComponentManager
>as of Fins block imports this class
>However, when I do build.bat for forrest even after including in the
>CLASSPATH all jars available in lib/core;lib/endorsed;lib/optional this
>class is yet not found.
>Nearest I could locate was in Cocoon20040902.jar a class called 
>org.apache.cocoon.components.container.CocoonComponentManager but that
>perhaps not the right class as it doesnt have the same methods.
>Where do I locate org.apache.cocoon.components.CocoonComponentManager
OR has
>this class been changed in Forrrest?
>BTW, the Fins block with the same java wrappers is working in Cocoon
Does your Fins block with in 2.1.X Cocoon, or in the 2.2 from 
Subversion? Forrest uses 2.2, which has been adapted to have its own 
implemenation of Excalibur Component Manager. The addition of this could

well be the cause of your problem.

Regards, Upayavira

View raw message