is there a way to create/export a LAR from liferay server A and import this in liferay server B with a script or even a maven/hudson plugin? I'm using Liferay 6.0.5.
thanks, Stijn
The best way to achieve what you want is to make use of scheduling for remote publication. You can find this option in the manage pages portlet.
Keep in mind that you can deploy servlets in Liferay. I would package the war file as a "web" plugin as described in this article on Nabble in order to access the Liferay APIs. From here you could perform whatever units of work you want, of which exporting a lar file. Call the servlet URL with the appropriate parameters and you're g2g.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With