Foros de discusión

How to modify the root.war file and redeploy it again in Liferay 6.1 EE

Tapas Mandal, modificado hace 11 años.

How to modify the root.war file and redeploy it again in Liferay 6.1 EE

New Member Mensajes: 2 Fecha de incorporación: 21/11/12 Mensajes recientes
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.
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: How to modify the root.war file and redeploy it again in Liferay 6.1 EE

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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, modificado hace 11 años.

RE: How to modify the root.war file and redeploy it again in Liferay 6.1 EE

New Member Mensajes: 2 Fecha de incorporación: 21/11/12 Mensajes recientes
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