Fórum

[Resolved] How to export portlet into WAR file?

Tai Nguyen, modificado 6 Anos atrás.

[Resolved] How to export portlet into WAR file?

New Member Postagens: 4 Data de Entrada: 20/10/17 Postagens Recentes
Hi everybody,

I am new bee in Liferay.
I am using Liferay 6.2 and have created some portlet.
I want to export portlet into .WAR file to install in my running portal.
Can you tell me how to do it?

Thanks for your help.
thumbnail
Manikantha Rajamani, modificado 6 Anos atrás.

RE: How to export portlet into WAR file? (Resposta)

Expert Postagens: 258 Data de Entrada: 25/03/14 Postagens Recentes
Hi,

Use any build tool like ant or maveen
for generating war file.

thanks and regards
Manikantha R
thumbnail
ANKIT SRIVASTAVA, modificado 6 Anos atrás.

RE: How to export portlet into WAR file? (Resposta)

Junior Member Postagens: 76 Data de Entrada: 02/02/11 Postagens Recentes
Hi Tai,

How did you create your portlet? using plugin SDK. If yes, you can simply run ant deploy from your portlet folder and can find war file inside "dist" folder of plugin SDK(Ant should be installed).

Thanks,
Ankit
Tai Nguyen, modificado 6 Anos atrás.

RE: How to export portlet into WAR file?

New Member Postagens: 4 Data de Entrada: 20/10/17 Postagens Recentes
ANKIT SRIVASTAVA:
Hi Tai,

How did you create your portlet? using plugin SDK. If yes, you can simply run ant deploy from your portlet folder and can find war file inside "dist" folder of plugin SDK(Ant should be installed).

Thanks,
Ankit


Manikantha Rajamani:
Hi,

Use any build tool like ant or maveen
for generating war file.

thanks and regards
Manikantha R


Hi guys,
Thanks for your helps. I can generate WAR file now.
Thank you very much.