The task cannot continue because ECJ is not installed - in Eclipse ant

I have an ant task that talks about the first run

Task cannot continue because ECJ is not installed.

ECJ was automatically installed. Please rerun your task.

When working with offline, Antit works fine a second time. I do not know what it is ECJ, but, apparently, it is installed offline Ant.

In contrast, at Eclipse Ant, this message is saved, i.e. ECJnot set to Eclipse' Ant.

How to fix the situation?

+5
source share
2 answers

This page has helped me:

  • In Eclipse, go to window-> Settings → Ant → Runtime
  • Select "Ant Home Records (default)"
  • JAR... ecj.jar. lib Liferay Plugins SDK.
  • Ant build.xml
+12

Windows. - .

${ ant.home}/lib jar (ecj.jar). . ANT_HOME_PATH apache ant. .

. ant home, bin.

0

All Articles