How to run my liferayportal site from workspace?

…衆ロ難τιáo~ 提交于 2019-12-23 04:57:11

问题


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:


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


来源:https://stackoverflow.com/questions/47218496/how-to-run-my-liferayportal-site-from-workspace

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!