Fórum

Creating WAR file

Hiten Shah, modificado 9 Anos atrás.

Creating WAR file

New Member Postagens: 16 Data de Entrada: 21/05/14 Postagens Recentes
Hello,
How to create a WAR file of my liferay 6.2 project???
or any idea of creating the lar file?

Thank you.
thumbnail
bhargavi m, modificado 9 Anos atrás.

RE: Creating WAR file

Junior Member Postagens: 47 Data de Entrada: 05/04/12 Postagens Recentes
once you deploy portlet war ll be created in sdk/dist folder

where as war creation is
goto control panel
select web content from left panel
you ll find a gear icon on right top
select export/import
select required content and click export lar file ll be created


but what i explained is in liferay 6.1 am not sure the process is same in liferay 6.2
Hiten Shah, modificado 9 Anos atrás.

RE: Creating WAR file

New Member Postagens: 16 Data de Entrada: 21/05/14 Postagens Recentes
Hello,
I created the lar file but cant access the portlet in another machine.
where as war creation is
goto control panel
select site
you ll find a gear icon on right top
select export/import
select required content and click export lar file ll be created .

There is an error "This portlet has been undeployed. Please redeploy it or remove it from the page."
thumbnail
Manish Yadav, modificado 9 Anos atrás.

RE: Creating WAR file

Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentes
Hiten Shah:
Hello,
There is an error "This portlet has been undeployed. Please redeploy it or remove it from the page."


Custom portlet war file you have deploy separately. Only OTB portlet comes within lar file.

Kind regards,
Manish Yadav
Hiten Shah, modificado 9 Anos atrás.

RE: Creating WAR file

New Member Postagens: 16 Data de Entrada: 21/05/14 Postagens Recentes
Hello,
How i deploy custom portlet WAR file?
can you please explain in brief?

Thank you.
thumbnail
Manish Yadav, modificado 9 Anos atrás.

RE: Creating WAR file

Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentes
You have to copy custom portlet war file into deploy folder..You can find deploy in Liferay_Home Folder
Hiten Shah, modificado 9 Anos atrás.

RE: Creating WAR file

New Member Postagens: 16 Data de Entrada: 21/05/14 Postagens Recentes
Hello,
I found custom deploy folder but how can i create custom portlet WAR file???

Thank you.
thumbnail
Manish Yadav, modificado 9 Anos atrás.

RE: Creating WAR file

Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentes
Dear Hiten,

Please find below links for.

Developing portlet using liferay ide



Exporting/Importing lar file

Kind regards,
Manish Yadav