问题
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