[Resolved] How to export portlet into WAR file?

Tai Nguyen, modified 8 Years ago. New Member Posts: 4 Join Date: 10/20/17 Recent Posts
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, modified 8 Years ago. Expert Posts: 258 Join Date: 3/25/14 Recent Posts
Hi,

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

thanks and regards
Manikantha R
thumbnail
ANKIT SRIVASTAVA, modified 8 Years ago. Junior Member Posts: 76 Join Date: 2/2/11 Recent Posts
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, modified 8 Years ago. New Member Posts: 4 Join Date: 10/20/17 Recent Posts
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.