Posts

Showing posts with the label lib

Steps to follow to deploy/undeploy the EXT

As we know that EXT is not hot deployable , we need to restart the server whenever it is deployed. At first time we can deploy the EXT without any prob, but when we need to redeploy or undploying the EXT following things need to be followed. 1. Stop the tomcat server 2. Delete the temp and work folder of tomcat server. It will be reside in the <tomcat-home>. Probably it can as  liferay-portal-6.2.10.1-ee-ga1\tomcat-7.0.42\temp and  liferay-portal-6.2.10.1-ee-ga1\tomcat-7.0.42\work. 3. Make sure to delete the JAR files created when EXT is deployed. All the jar files will be created with name prefix as ext . Jar files will be at <tomcat-home>/lib/ext it can  liferay-portal-6.2.10.1-ee-ga1\tomcat-7.0.42\lib\ext.                 ext-*-ext-service.jar Also it can also be at <tomcat-home>/ROOT/WEB-INF/lib/ probably it can be as  liferay-portal-6.2.10.1-ee-ga1\tomcat-7.0.42\webapps\ROOT\WEB-...

ECJ jar not installed

Image
Today , When I am deploying the new plugin portlet using the ant tool i got a build failed with error stack trace as,                 Task cannot continue because ECJ is not installed.                ECJ was automatically installed. Please rerun your task. As below screenshot as, So what to do ?, how to proceed further? Here it is In Eclipse Go to windows menu, click on the preferences We will see the following screesnshot select the ant and click on the Runtime , by default Classpath tab is selected, click on the Global Entries Then click on the Add External JARS button and select ECJ jar file from the <liferay-tomcat>/tomcat/lib. Click OK button to save the changes. Thats it now we can build the portlet.