site-author and project.content-dir FOR-1048

David Crossley <[email protected]>
Newsgroups gmane.text.xml.forrest.devel
Message-ID <[email protected]>
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"

-David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.