Am Montag, 16. Juni 2008 11:28 schrieb Andreas Hartmann: > Wolfgang Jeltsch schrieb: > > Am Freitag, 13. Juni 2008 16:39 schrieb Andreas Hartmann:
> […] > >> I'd start with this tutorial: > >> http://lenya.apache.org/docs/2_0_x/tutorials/newpublication/index.html > […] > > First, I don’t understand why access control data isn’t held inside the > > publication directory like it seems to be the case with the default > > publication. Is this for sharing authentication data between > > publications? > > No, the separation of application and data is meant to simplify > maintenance: […] But look at the directory structure in the section “Prerequisites”. All access control data is meant to be stored under $HOME/src/lenya/data/access-control. The publication name isn’t mentioned in this path. So if I would create a second publication according to the same scheme, its access control data would be stored in the same path. > […] > > Second, I don’t know how Lucene knows to what base directory the relative > > paths in lucene_index.xml refer. The example lucene_index.xml contains > > paths starting with lenya/pubs/$MYPUB. > > IndexManagerImpl:370 > > if (!directory.startsWith(File.separator)) { > directory = getServletContextPath() + File.separator + directory; > } But this would mean that the servlet context path would have to be $HOME/src while lenya is installed in $HOME/apache/lenya-2.0. > […] Best wishes, Wolfgang --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
