Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Tapas Mandal
How to modify the root.war file and redeploy it again in Liferay 6.1 EE
January 11, 2013 12:17 AM
Answer

Tapas Mandal

Rank: New Member

Posts: 2

Join Date: November 20, 2012

Recent Posts

I am using Liferay version 6.1 EE edition with JBoss server. I have modified the existing ROOT.war file with a new modified theme header and footer, portlet look & feel etc. The structure within this modified ROOT.war file remains the same as the original ROOT.war file with some added image files, CSS files, JS files and template files(vm) in '\html\themes\classic' directory only. I just want to replace the original ROOT.war file with this modified ROOT.war file. Now how should I deploy this replacing the original one? Help would be much appreciated. Thanks.
Hitoshi Ozawa
RE: How to modify the root.war file and redeploy it again in Liferay 6.1 EE
January 11, 2013 4:17 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

You shouldn't be directly modifying ROOT.war file. Create a hook plugin or ext plugin and deploy that to modify ROOT.war.

http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/extending-and-customizing-lifer-3
Tapas Mandal
RE: How to modify the root.war file and redeploy it again in Liferay 6.1 EE
January 14, 2013 1:15 AM
Answer

Tapas Mandal

Rank: New Member

Posts: 2

Join Date: November 20, 2012

Recent Posts

Thank you Hitoshi, I have to check and will try it. I will update in this tread if I face any issues. Thanks again emoticon