Thursday, June 23, 2011

liferay Ext Plugin

In Liferay Portal, when working with Ext Plugin the server need to be rebooted after deployment.

But sometimes even after rebooting the server changes are not reflected, because some  jar files and xml files related to ext plugin project don't get updated.

To make sure all the files get updated, stop the server and remove the old files listed below-

./webapps/project-name
./lib/ext/ext-project-name-service.jar
./webapps/ROOT/WEB-INF/lib/ext-project-name-util-bridges.jar
./webapps/ROOT/WEB-INF/lib/ext-project-name-util-taglib.jar
./webapps/ROOT/WEB-INF/lib/ext-project-name-util-java.jar
./webapps/ROOT/WEB-INF/lib/ext-project-name-impl.jar
./webapps/ROOT/WEB-INF/ext-project-name.xml
./temp/liferay/com/liferay/portal/deploy/dependencies/ext-project-name-util-bridges.jar
./temp/liferay/com/liferay/portal/deploy/dependencies/ext-project-name-util-taglib.jar
./temp/liferay/com/liferay/portal/deploy/dependencies/ext-project-name-util-java.jar

After this deploy the ext project and reboot the server.

Enjoy working with Liferay Portal Ext Plugin ...

4 comments: