Liferay Builds with the ECJ Compiler(Tricks for linux).

Task cannot continue because ECJ is not installed.
ECJ was automatically installed. Please rerun your task.

I suffer for above issue. Finally resolve this in ubuntu.

I don't use Eclipse IDE environment, Ubuntu provides ecj compiler separately:

Step 1: sudo apt-get install ecj

Step 2: If you using ant of Ubuntu (sudo apt-get install ant)
You need to link ecj.jar to its directory(If ecj.jar already in /usr/share/ant/lib/ecj.jar then first remove this):
sudo ln -s /usr/share/java/ecj.jar /usr/share/ant/lib/ecj.jar
 

Enjoy...

Comments

Popular posts from this blog

How to find the companyId in Liferay.

How to add portlet in liferay theme.

How to create soap client for ofbiz service or ofbiz service invocation from another application.