Forums de discussion

[Resolved] How to export portlet into WAR file?

Tai Nguyen, modifié il y a 6 années.

[Resolved] How to export portlet into WAR file?

New Member Publications: 4 Date d'inscription: 20/10/17 Publications récentes
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, modifié il y a 6 années.

RE: How to export portlet into WAR file? (Réponse)

Expert Publications: 258 Date d'inscription: 25/03/14 Publications récentes
Hi,

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

thanks and regards
Manikantha R
thumbnail
ANKIT SRIVASTAVA, modifié il y a 6 années.

RE: How to export portlet into WAR file? (Réponse)

Junior Member Publications: 76 Date d'inscription: 02/02/11 Publications récentes
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, modifié il y a 6 années.

RE: How to export portlet into WAR file?

New Member Publications: 4 Date d'inscription: 20/10/17 Publications récentes
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.