开发者

Is it possible to connect an existing JCR repository to Liferay?

I'm wondering if I can setup liferay to use my existing JackRabbit repository via com.liferay.documentlibrary.util.JCRHook

If I set all these properties to match my repository, would it work ?

jcr.workspace.name=liferay
jcr.node.documentlibrary=documentlibrary

jcr.jackrabbit.repository.root=${liferay.home}/data/jackrabbit
jcr.jackrabbit.config.file.path=${jcr.jackrabbit.repository.root}/repository.xml
jcr.jackrabbit.repository.home=${jcr.jackrabbit.repository.root}/home
jcr.jackrabbit.credentials.username=none
jcr.jackrabbit.credentials.password=none

The repository is mostly about nt:file - nt:content with nt:resources that has "jcr" and mixin properties. I'm not interested in those, I just need the files in repository to be accessible via Liferay's document library.

开发者_如何学编程

I'd like to avoid using CMIS integration and do it like this.


Unfortunately for now, you can only connect an existing repository via CMIS. So that your repository has to be running on a server with cmis server support, into which your repo is bound to.

There is a proposition going on, you can vote up here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜