forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: Forrest 0.7 install issues
Date Thu, 02 Mar 2006 21:27:13 GMT
Thorsten Scherler wrote:
> jdwilliams@austin.rr.com escribi??:
> > Running JDK 1.4.2 and attempting to install apache-forrest-0.7 on
> > Windows XP.
> > 
> > I cd to FORREST_HOME/site-author and type 'forrest run' or 'forrest' and
> > get a lot of Java errors.

I don't get "Java errors", just the usual processing info.

> > When I try to run the webapp (forrest run) and point my browser to
> > localhost:8888, I get the following.
> > 
> > Could not find component for role:
> > [org.apache.cocoon.components.modules.input.InputModule/lm]
> > (Key='org.apache.cocoon.components.modules.input.InputModule/
> 
> 
> That seems like a plugin issue. In 0.8-dev we introduced the locationmap
> (lm) not only in the core but as well for the plugins.
> 
> Having said this a quick fix is to 
> cd FORREST_HOME/plugins
> and then cd to all the plugins mentioned in the forrest.properties and
> do "ant local-deploy":
> # The names of plugins that are required to build the project
> # comma separated list (no spaces)
> # Run "forrest available-plugins" for a list of plug-ins currently
> available
> project.required.plugins=org.apache.forrest.plugin.input.dtdx,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.POD,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.output.Text,org.apache.forrest.plugin.input.wiki,org.apache.forrest.plugin.input.OpenOffice.org
> 
> I reckon there is a better way (I recall to change the version number
> but cannot quite remember - should be in dev archive), but that should
> fix your problem for now.

All that is needed is to edit forrest.properties and
add a version number for the projectInfo plugin.
So for the site-author example ...

project.required.plugins=org.apache.forrest.plugin.input.dtdx,org.apache.forrest.plugin.input.projectInfo-0.1,org.apache.forrest.plugin.output.POD,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.output.Text,org.apache.forrest.plugin.input.wiki,org.apache.forrest.plugin.input.OpenOffice.org

-David

Mime
View raw message