How to run my liferayportal site from workspace?

2019-06-13 18:32发布

I have a liferay workspace that I deployed through blade successfully. In my workspace I have a bundles directory:

  > bundles
    > -----data
    > -------document_library
    > -------elasticsearch
    > -------hypersonic
    > ---------lportal.lck
    > ---------lportal.log
    > ---------lportal.properties
    > ---------lportal.script

At the moment when I run tomcat which is installed in a different location but locally , does not display the content from my bundles. How can I configure LR so it serves my webcontent from the bundles above and not the standard Hello world page? Also how can I configure liferay-ce-portal-7.0-ga5 so it points to the lportal files above?

1条回答
爷、活的狠高调
2楼-- · 2019-06-13 19:07

Change following property in portal-ext.properties

resource.repositories.root=your bundle path

My liferay is located at

E:\liferay-dxp-digital-enterprise-7.0-sp4\portal-ext.properties

and my eclipse liferay bundle is at

E:\workspace\bundles\data. 

Following is property from my portal-ext.properties

resource.repositories.root=E:/workspace/bundles
查看更多
登录 后发表回答