On Fre, 2006-09-01 at 18:58 +0200, Jörn Nettingsmeier wrote: > simon litwan wrote: > > On Don, 2006-08-31 at 20:32 +0200, Joern Nettingsmeier wrote: > >> simon litwan wrote: > >>> hi all > >>> > >>> is someone successfully using a customized content-dir (in > >>> publication.xconf)? > >>> > >>> i allways get a 404. > >> works for me, but with an irritating quirk: > >> you need to specify the base directory of your publication, and a > >> subdirectory "content/" is implicit. > > > > thanks for your reply. > > > > i already have it like that. > > actually it worked for me a few month ago. i didn't change anything > > beside a svn up the lenya. > > > > but it seems i'm the only one with problems, see thread "Lenya 1.4-dev > > content-dir and rcml data" > > > > andreas helped me to debug it a bit and we discovered a strange behavior > > in SourceNode.java where in my setup the path to the sitetree.xml is > > missing the content/ part. > > > > i will have a look tomorrow. > > same thing happened to me a couple of days ago, but i blamed it on the > uuid migration target... i may have been wrong, though. > in case you still have the pre-uuid content around, maybe could you try > to migrate again... i think some recent change fixed it for me.
so, now i found the problem i think. if i use <content-dir src="/opt/jakarta-tomcat-5.0.28/webapps/lenya/lenya/pubs/default/content"/> it works! and if i use <content-dir src="lenya/pubs/default"/> it works too! that looks like an inconsistency. i think we need to decide how we want to handle this. for me it would be logical if the path of the content dir points to the content dir, like the absolute path works. WDOT? i could provide a patch if we reach a consensus on this. simon > > -- Simon Litwan [EMAIL PROTECTED] Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]