留言板

Import/Export LAR from a script?

Mark Wolff,修改在12 年前。

Import/Export LAR from a script?

New Member 发布: 1 加入日期: 11-12-7 最近的帖子
For our build & test automation, we would like to automate the export and later import of web content via a LAR file. We considered driving the Liferay admin web page with a robot tool, but thought that we could do something cleaner. Does anyone have a suggestion on doing this?
thumbnail
Namrata Hangal,修改在11 年前。

RE: Import/Export LAR from a script?

Regular Member 帖子: 161 加入日期: 10-7-27 最近的帖子
Hi Mark,

Any luck with your objective?
Costin Pirosca,修改在8 年前。

RE: Import/Export LAR from a script?

New Member 帖子: 8 加入日期: 15-6-26 最近的帖子
Hello,

Any luck on this topic?

Thank you
thumbnail
Jan Geißler,修改在8 年前。

RE: Import/Export LAR from a script?

Liferay Master 帖子: 735 加入日期: 11-7-5 最近的帖子
Take a look at the resource-importer.

https://www.liferay.com/de/documentation/liferay-portal/6.1/development/-/ai/6-1-importing-resources-with-themes
Costin Pirosca,修改在8 年前。

RE: Import/Export LAR from a script?

New Member 帖子: 8 加入日期: 15-6-26 最近的帖子
Thank you for the answer.
I have merge my .lar file with the .war archive of liferay theme but when i deploy it on the server it seems that the web content is not loaded into liferay.
Even after restart it is not visible or available. Should jboss have some settings enabled?

What i actually want is to do is to automate the import/export somehow from one server to another. I have tried writing some sql scripts to copy information between databases JournalArticle tables but with no success.

My lar files are about 1Gb (more or less) of data and i want to try to ease the Import/Export workflow by automate it.

I am using liferay 6.1.

Thank you for all the help!