如何从工作区运行liferayportal网站? [英] How to run my liferayportal site from workspace?
问题描述
我有一个liferay工作区,该工作区已成功通过刀片部署.在我的工作区中,有一个bundles目录:
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
当我运行安装在其他位置但本地的tomcat时,不会显示捆绑包中的内容.如何配置LR,以便它从上面的捆绑软件而不是标准的Hello world页面提供我的Web内容? 另外如何配置liferay-ce-portal-7.0-ga5,使其指向上面的lportal文件?
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?
推荐答案
更改portal-ext.properties中的以下属性
Change following property in portal-ext.properties
resource.repositories.root =您的捆绑包路径
resource.repositories.root=your bundle path
我的liferay位于
My liferay is located at
E:\liferay-dxp-digital-enterprise-7.0-sp4\portal-ext.properties
我的日食liferay捆绑包位于
and my eclipse liferay bundle is at
E:\workspace\bundles\data.
以下是我的portal-ext.properties中的属性
Following is property from my portal-ext.properties
resource.repositories.root=E:/workspace/bundles
这篇关于如何从工作区运行liferayportal网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!