Rakesh Midha wrote:
Hello
I followed the steps given by Andreas in his mail.
Even now my lenya is pointing to content directory of my publication in
pubs folder. I thought after doing all this it should point to
jcr-repository. (means if i create new html page it should go in
jcr-repository)
As I understand the problem is in step 3 which says
3) Set the JCRNodeFactory as default node factory in
java/org/apache/lenya/lenya.roles
<role name="org.apache.lenya.cms.repository.NodeFactory"
shorthand="node-factory"
default-class="org.apache.lenya.cms.jcr.JCRNodeFactory"/>
NodeFactory role is removed from Lenya.roles by Andreas in revision
416134 with comment Removed NodeFactory role from lenya.roles (now
provided by sourcerepository module in cocoon.xconf)
Can someone please tell me what changes are required to make my lenya
point to JCR rather that pub directory in filesystem.
Basically you have to exclude the sourcerepository module and include
the modules-optional/jcrsource module. That's not easy with the
current module declaration syntax (maybe we should rather use a list
of single modules for declaration). You could disable the patch in
the sourcerepository module (e.g. use a different extension).
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]