Foren

Auto deploy LAR files on 6.2

thumbnail
William Gosse, geändert vor 8 Jahren.

Auto deploy LAR files on 6.2

Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
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, geändert vor 8 Jahren.

RE: Auto deploy LAR files on 6.2

Liferay Legend Beiträge: 14914 Beitrittsdatum: 02.09.06 Neueste Beiträge
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, geändert vor 8 Jahren.

RE: Auto deploy LAR files on 6.2

Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
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-