Foros de discusión

Deploy ext-Plugin for second time

thumbnail
Cesar Ingaruca, modificado hace 11 años.

Deploy ext-Plugin for second time

Regular Member Mensajes: 143 Fecha de incorporación: 12/08/08 Mensajes recientes
Hi everybody,
i have the last version of liferay 6.1 and i have any problems using Liferay IDE and SDK.

I have created my ext-plugin with Liferay IDE and i do my changes.
Then, i select the deploy function of the IDE and it's ok the first time, when i reboot LR mi changes have done.
But when i do another changes and i want to deploy for second time, it doesn't work. My changes aren't shown.

Do you know why? ext plugin is used just for one change?...


I'll wait your response... thank you emoticon
thumbnail
Amit Doshi, modificado hace 11 años.

RE: Deploy ext-Plugin for second time

Liferay Master Mensajes: 550 Fecha de incorporación: 29/12/10 Mensajes recientes
Hi Cesar,

I got your point. I am currently facing the same problem in liferay 6.1

In liferay 6.0.6 version there is a patch called ext-redeploy-6.0.5.jar file but that is not working with liferay 6.1.

Because once we put jar in $tomcat_home/ROOT/WEB-INF/lib/ and deploy the war file, it will ask you for rebooting the server and your changes get reflected in liferay 6.0.6.

That is not happening for liferay 6.1 now.

So what I do generally to reflect the EXT changes.

Follow the steps as mentioned in the below link :-

Start from the 3rd steps.

http://liferaytrends.blogspot.in/2012/05/deploying-ext-in-liferay-6.html

Hope it works.

Regards,
Amit Doshi
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: Deploy ext-Plugin for second time

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
It's only possible to apply ext plugin once. This is liferay's specification and is not the limitation with the IDE.
You'll have to clean out the previous ext plugin before you can apply the modified ext plugin.
thumbnail
Amit Doshi, modificado hace 11 años.

RE: Deploy ext-Plugin for second time

Liferay Master Mensajes: 550 Fecha de incorporación: 29/12/10 Mensajes recientes
Hitoshi:-

Is there any patch available for Liferay 6.1 same as ext-redeploy-6.0.5.jar which was available for liferay 6.0+ version?.Which will allow us to deploy EXT plugins multiple times rather than cleaning every time.
Oliver Bayer, modificado hace 11 años.

RE: Deploy ext-Plugin for second time

Liferay Master Mensajes: 894 Fecha de incorporación: 18/02/09 Mensajes recientes
Hi Amit,

please refer to the following wiki on how to undeploy an ext-plugin. AFAIK there is no fix for that because as Hitoshi said it's the correct way how it's done. If you're using the eclipse ide you only have to restart the server to get your changes applied. If you want to redeploy to a server the easiest solution is to build a war file with eclipse and then copy and override the files manually (so you don't have to undeploy them first).

HTH Oli
thumbnail
Apoorva Prakash, modificado hace 11 años.

RE: Deploy ext-Plugin for second time

Liferay Master Mensajes: 658 Fecha de incorporación: 15/06/10 Mensajes recientes
Hi All,

I hope you may find this link useful.

Hope this will help,
Thanks and Regards,
Apoorva Prakash
thumbnail
Cesar Ingaruca, modificado hace 11 años.

RE: Deploy ext-Plugin for second time

Regular Member Mensajes: 143 Fecha de incorporación: 12/08/08 Mensajes recientes
Oh Thanks!!! i will check the links!!
Abhijeet Naukharkar, modificado hace 8 años.

RE: Deploy ext-Plugin for second time

Junior Member Mensajes: 70 Fecha de incorporación: 27/03/15 Mensajes recientes
Thanks Apoorva,
I facing this issue from 2 - 3 days. Your article is helpful for me.
thumbnail
Apoorva Prakash, modificado hace 8 años.

RE: Deploy ext-Plugin for second time

Liferay Master Mensajes: 658 Fecha de incorporación: 15/06/10 Mensajes recientes
Thanks Abhijeet.