El jue, 02-03-2006 a las 10:20 -0500, Renaud Richardet escribió: > Michael Wechner wrote: > > > Thorsten Scherler wrote: > > > >> El jue, 02-03-2006 a las 14:37 +0100, Michael Wechner escribió: > >> > >> > >>> Thorsten Scherler wrote: > >>> > >>> > >>> > >>>> Hi all, > >>>> when I use the new feature of the configurable content dir. > >>>> <content-dir > >>>> src="/home/USERNAME/data/default"/> > >>>> then I cannot add any assets anymore. > >>>> > >>>> Well I can but lenya is not finding them anymore. ;-) > >>>> > >>>> The weird thing is that the asset will be added to: > >>>> /home/USERNAME/data/default/contentes > >>>> > >>>> The es *can* be my default language, but I am not sure. > >>>> > >>>> Somebody can see the same and maybe knows how to fix it? > >>>> > >>>> > >>>> > >>> > >>> well, I guess there must be some FileSystem call, which should be > >>> replaced by the SourceNode interface. Unfortunately one cannot just > >>> do a search and replace. > >>> > >>> But in order to find all the locations where we should fix this one can > >>> comment within > >>> > >>> src/java/org/apache/lenya/cms/publication/Document.java > >>> > >>> getFile() > >>> > >>> and re-compile and then you will where one has to fix stuff, resp. > >>> > >>> use getSourceURI() > >>> > >>> HTH > >>> > >> > >> > >> Thanks very much. > >> > >> Not the answer I liked to hear. ;) > >> > >> > > > > well, it's not a bug of the configurable content dir, but it > > shows very nicely where we need to improve things ;-) > > Two more things I noticed with the configurable content (which is by the > way very convenient): > - it seems that the folder "rcml" is not outsourced
No, because it is not in the content dir, right? ;) > - how can I specify relative path in publication.xconf <content-dir> > (I tried, but got an error like > Invalid path ('../' is not allowed) : > //./../../data/mypub/content/authoring/sitetree.xml) > Hmm, I did not tried it but see lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java HTH salu2 > Thanks for a hint, > Renaud > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]