forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: site-author and project.content-dir FOR-1048
Date Fri, 04 Feb 2011 04:11:56 GMT
David Crossley wrote:
> David Crossley wrote:
> > 
> > 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.
> 
> This is something that we missed putting on the roadmap:
> https://issues.apache.org/jira/browse/FOR-1048
> "project.content-dir is getting ignored if "." in forrest war"

See:
https://issues.apache.org/jira/browse/FOR-1219
"the directory structure of our site-author docs needs re-arrangement"
I scheduled it for the next version.

-David

Mime
View raw message