when i use content directory redirection in publication.xconf, lenya implicitly looks in a "content/" subdirectory of the directory given in "src". this is not desirable and should be fixed. example: <content-dir src="/srv/lenya-publications/mypub"> will cause lenya to look in /srv/lenya-publications/mypub/content. if there are good reasons for the current behaviour, then at least change the examples in pubs/default/config/publication.xconf to include the trailing content/ directory.
simon litwan reports a weird inconsistency: http://thread.gmane.org/gmane.comp.cms.lenya.user/10404/focus=10453
Created attachment 18871 [details] adds sample for content-dir. apply at src/pubs/default/config/publication.xconf samples reflect usage of content-dir. content dir can be any dir (absolut/relative) which the authoring, live etc. dirs contents.
Created attachment 18872 [details] adds sample for content-dir. apply at src/pubs/blog/config/publication.xconf samples reflect usage of content-dir. content dir can be any dir (absolut/relative) which the authoring, live etc. dirs contents.
Created attachment 18873 [details] resolves inconsistency. apply at src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNode.java removes inconsistency of how getRealSourceURI handles relative or absolute path getting from Publication.getContentDir()
I applied the patch, thanks a lot!