do you think import usecase will not require sourcerepository, my understanding is the import usecase uses sourcerepository to getdata and put it into jcrrepository
Am I wrong somewhere?
On 9/1/06, Andreas Hartmann <[EMAIL PROTECTED]> wrote:
Rakesh Midha wrote:
> Hello Andreas
>
> thanks for the help.
>
> I don't think we can exclude the sourcerepository module, because
> repository module depends on sourcerepository, doesn't sound right but
> it is true. Look at module.xml in repository
> <id>org.apache.lenya.modules.repository</id>
> <depends module="org.apache.lenya.modules.sourcerepository"/>
>
> Anyways even if this dependency is there, i think import usecase will
> require repository to exist.
I don't think so, the repository module isn't used anywhere.
-- Andreas
>
> Is there any other way for redirection from sourcerepository to
> jcrrepository.?
>
> Yes, I liked your idea of "we should rather use a list of single modules
> for declaration", i think we should do this....currently only directory
> level exclude is allowed indirectly using modules.root.dirs.
>
>
> thanks
> Rakesh
>
>
>
> On 8/31/06, *Andreas Hartmann* <[EMAIL PROTECTED]
> <mailto: [EMAIL PROTECTED]>> wrote:
>
> 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]
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
