留言板

Auto deploy LAR files on 6.2

thumbnail
William Gosse,修改在8 年前。

Auto deploy LAR files on 6.2

Liferay Master 帖子: 533 加入日期: 10-7-4 最近的帖子
We currently have 3 LAR files that we manually inport when we go from dev to qa and then to production.

One is for the public pages of our site, another is for the private pages of our site and the last one is for web content for the global site.

Is there anyway to automate these importations? I have looked at the following in the portal.properties file:
#default.user.private.layouts.lar=${liferay.home}/deploy/default_user_private.lar
#default.user.public.layouts.lar=${liferay.home}/deploy/default_user_public.lar

They look like they can handle the public and private pages but I'm not sure how they know what site to add the pages to.

I could find any thing for the global site content.
thumbnail
David H Nebinger,修改在8 年前。

RE: Auto deploy LAR files on 6.2

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Those lar properties are the default layouts for a users private and public pages. When a new user is registered and you allow for user pages, these lars can be used to prepopulate their pages.

It has nothing to do with sites.

Rather than using LARs, perhaps you should be looking at resource importer...

Also you should check out my blog, https://www.liferay.com/web/26526/blog/-/blogs/content-creation-is-not-a-development-activity. You may not have hit an issue yet on the LAR imports yet, but you will. Adjusting your perspective on content creation now will help to avoid the problems going forward.
thumbnail
William Gosse,修改在8 年前。

RE: Auto deploy LAR files on 6.2

Liferay Master 帖子: 533 加入日期: 10-7-4 最近的帖子
The url provided didn't work but this one does: https://www.liferay.com/web/26526/blog/-/blogs/content-creation-is-not-a-development-activity-