留言板

Creating WAR file

Hiten Shah,修改在9 年前。

Creating WAR file

New Member 帖子: 16 加入日期: 14-5-21 最近的帖子
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,修改在9 年前。

RE: Creating WAR file

Junior Member 帖子: 47 加入日期: 12-4-5 最近的帖子
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,修改在9 年前。

RE: Creating WAR file

New Member 帖子: 16 加入日期: 14-5-21 最近的帖子
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,修改在9 年前。

RE: Creating WAR file

Expert 帖子: 493 加入日期: 12-5-26 最近的帖子
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,修改在9 年前。

RE: Creating WAR file

New Member 帖子: 16 加入日期: 14-5-21 最近的帖子
Hello,
How i deploy custom portlet WAR file?
can you please explain in brief?

Thank you.
thumbnail
Manish Yadav,修改在9 年前。

RE: Creating WAR file

Expert 帖子: 493 加入日期: 12-5-26 最近的帖子
You have to copy custom portlet war file into deploy folder..You can find deploy in Liferay_Home Folder
Hiten Shah,修改在9 年前。

RE: Creating WAR file

New Member 帖子: 16 加入日期: 14-5-21 最近的帖子
Hello,
I found custom deploy folder but how can i create custom portlet WAR file???

Thank you.
thumbnail
Manish Yadav,修改在9 年前。

RE: Creating WAR file

Expert 帖子: 493 加入日期: 12-5-26 最近的帖子
Dear Hiten,

Please find below links for.

Developing portlet using liferay ide



Exporting/Importing lar file

Kind regards,
Manish Yadav