掲示板

Import/Export LAR from a script?

12年前 に Mark Wolff によって更新されました。

Import/Export LAR from a script?

New Member 投稿: 1 参加年月日: 11/12/07 最新の投稿
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
11年前 に Namrata Hangal によって更新されました。

RE: Import/Export LAR from a script?

Regular Member 投稿: 161 参加年月日: 10/07/27 最新の投稿
Hi Mark,

Any luck with your objective?
8年前 に Costin Pirosca によって更新されました。

RE: Import/Export LAR from a script?

New Member 投稿: 8 参加年月日: 15/06/26 最新の投稿
Hello,

Any luck on this topic?

Thank you
thumbnail
8年前 に Jan Geißler によって更新されました。

RE: Import/Export LAR from a script?

Liferay Master 投稿: 735 参加年月日: 11/07/05 最新の投稿
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
8年前 に Costin Pirosca によって更新されました。

RE: Import/Export LAR from a script?

New Member 投稿: 8 参加年月日: 15/06/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!