David Crossley wrote:
> Using our rc1 and Apache Tomcat 6.0.30 on Mac with Java 1.5
> 
> ]$ cd seed-basic-rc1
> ]$ forrest war
> ]$ cp build/my-project.war $CATALINA_HOME/webapps
> ]$ $CATALINA_HOME/bin/startup.sh
> 
> Yes, it works.
> 
> However, i am having trouble with the war from
> "seed-sample" and from "site-author".

The "seed-sample" gives this in webapps/my-project/WEB-INF/logs/error.log
ERROR   (2011-02-03) 22:03.00:895   [access] (/my-project/index.html) 
http-8080-1/CocoonServlet: Internal Cocoon Problem
org.apache.cocoon.ProcessingException: Failed to process pipeline
        at [TransformerException] - 
file:///path/to/apache-tomcat-6.0.30/webapps/my-project/skins/pelt/xslt/html/site-to-xhtml.xsl:61:61

i.e. $FORREST_HOME/main/webapp/skins/pelt/xslt/html/site-to-xhtml.xsl

Does someone else also get that on Java 1.5
Any clues?

    -------------------
On a different Mac with Java 6:

The "seed-sample" war works okay. Hooray.

However, the "site-author" war does not work.

The reason is that it cannot find the project locationmap
and even if it did there would be no content.

It seems that the packing up of the WAR file does not like
the layout of our "site-author" space. In its forrest.properties
we configure "project.content-dir=." and it seems that anything
using that property does not get packed into the war file,
e.g.
project.xdocs-dir=${project.content-dir}/content/xdocs
project.skinconf=${project.content-dir}/skinconf.xml
and content/locationmap.xml
... none of those get packed into the war file and so
are not available at runtime.

Moving that stuff into a sub-directory, and setting the
property "project.content-dir" does fix the problem.

-David