forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: question to FOR-1136 and locationmap.xml not found
Date Thu, 26 Feb 2009 01:36:39 GMT
EMMEL Thomas wrote:
> 
> so what now ???

Sorry, i had to snip all of the above. No time.
Hopefully someone else can help.

To over-ride such stuff, as you indicate, you need to
concentrate on getting your project's locationmap
to function.

> In addition I realy like to understand how the locationmap-thing works
> but I cannot find enough input
> to understand the complete work-flow and debugging is very hard...
> For example there is a locationmap.xml and maybe a
> locationmap-project.xml but I don't know when they are used
> and where they should be stored, due to my problems above that no local
> locationmap after all will be read.

I suspect that your problem is with the
filename "locationmap-project.xml".
Have a look at Forrest's core sitemaps:
]$ cd $FORREST_HOME/main/webapp/
]$ grep locationmap *.xmap

The sitemap.xmap responds to the *internal* pattern
"locationmap-project.xml" and looks for a project
locationmap at {properties:content}locationmap.xml
Note the expected final filename "locationmap.xml".

See the example for our project website
at $FORREST_HOME/site-author/

Our location map is at
site-author/content/locationmap.xml

The docs should help:
http://forrest.apache.org/docs/dev/locationmap.html

-David

Mime
View raw message