El vie, 10-03-2006 a las 13:41 +0100, Andreas Hartmann escribió:
> Thorsten Scherler wrote:
> > El vie, 10-03-2006 a las 13:13 +0100, Andreas Hartmann escribió:
> >> Thorsten Scherler wrote:
> >>
> >> [...]
> >>
> >>> ...
> >>>> @@ -331,7 +346,9 @@
> >>>>              RepositorySource source = null;
> >>>>              try {
> >>>>                  resolver = (SourceResolver) 
> >>>> this.manager.lookup(SourceResolver.ROLE);
> >>>> -                source = (RepositorySource) 
> >>>> resolver.resolveURI(getSourceURI());
> >>>> +                String sourceUri = getPublication().getSourceURI() + 
> >>>> "/content/" + getArea()
> >>>> +                        + getId() + "/index_" + getLanguage() + ".xml";
> >>>> +                source = (RepositorySource) 
> >>>> resolver.resolveURI(sourceUri);
> >>>>                  this.metaDataManager = 
> >>>> source.getNode().getMetaDataManager();
> >>>>              } catch (Exception e) {
> >>>>                  throw new RuntimeException(e);
> >>> This code change is not compatible with custom mapping.
> >> It is compatible. You just have to move your meta files once.
> > 
> > ¿?
> > 
> > The above string is looking up:
> > lenya://lenya/pubs/myPub/content/authoring/index/index_en.xml
> > 
> > Yeah, to move the meta to
> > lenya://lenya/pubs/myPub/content/authoring/index/index_en.xml.meta but
> > that does make 0% sense for custom mapping if I want this location I
> > would not write a custom mapper.
> 
> The hard-coded location applies only to the meta sources.
> The location of the actual document sources is determined by
> your custom DocumentIdToPathMapper.
> 

Well the problem is now with my pub that you cannot create any pages
anymore because the meta data file will be written to a different
location then I need.

:(

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to