Aug 21, 2013

[Solved] Task cannot continue because ECJ is not installed — in Eclipse ant

I know this is known error but still I put it here as it could be helpful.
   
Task cannot continue because ECJ is not installed.

ECJ was automatically installed.

Please rerun your task. Total time: 1 second    

If you get above error in your IDE, just follow below steps to resolve it.   

  1. In Eclipse, Go To Window --> Preferences --> Ant -> Runtime
  2. Select "Ant Home Entries (Default)"
  3. Add External JAR (ecj.jar)  from your plugin-sdk->lib folder
  4. Ant should now be able to compile from your build.xml