ECJ solution in Liferay eclipse
When we use JDT compiler in eclipse then It will expect ecj.jar should be available in global ant runtime path.
So we need to add ecj.jar file to ANT global class path as follows
Go to eclipse windows preferences
Select ANT run time as follows
Now add jar file to ant global class path. Select external jar file button then browsecj.jar file
Note:
ecj.jar file available in Plugins SDK lib directory (liferay-plugins-sdk-6.2.0/lib)
This comment has been removed by the author.
ReplyDelete