Fórum

Deploy ext-Plugin for second time

thumbnail
Cesar Ingaruca, modificado 11 Anos atrás.

Deploy ext-Plugin for second time

Regular Member Postagens: 143 Data de Entrada: 12/08/08 Postagens Recentes
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 11 Anos atrás.

RE: Deploy ext-Plugin for second time

Liferay Master Postagens: 550 Data de Entrada: 29/12/10 Postagens Recentes
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 11 Anos atrás.

RE: Deploy ext-Plugin for second time

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
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 11 Anos atrás.

RE: Deploy ext-Plugin for second time

Liferay Master Postagens: 550 Data de Entrada: 29/12/10 Postagens Recentes
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 11 Anos atrás.

RE: Deploy ext-Plugin for second time

Liferay Master Postagens: 894 Data de Entrada: 18/02/09 Postagens Recentes
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 11 Anos atrás.

RE: Deploy ext-Plugin for second time

Liferay Master Postagens: 658 Data de Entrada: 15/06/10 Postagens Recentes
Hi All,

I hope you may find this link useful.

Hope this will help,
Thanks and Regards,
Apoorva Prakash
thumbnail
Cesar Ingaruca, modificado 11 Anos atrás.

RE: Deploy ext-Plugin for second time

Regular Member Postagens: 143 Data de Entrada: 12/08/08 Postagens Recentes
Oh Thanks!!! i will check the links!!
Abhijeet Naukharkar, modificado 8 Anos atrás.

RE: Deploy ext-Plugin for second time

Junior Member Postagens: 70 Data de Entrada: 27/03/15 Postagens Recentes
Thanks Apoorva,
I facing this issue from 2 - 3 days. Your article is helpful for me.
thumbnail
Apoorva Prakash, modificado 8 Anos atrás.

RE: Deploy ext-Plugin for second time

Liferay Master Postagens: 658 Data de Entrada: 15/06/10 Postagens Recentes
Thanks Abhijeet.