Foren

ECJ Missing

thumbnail
Akash Jaisawal, geändert vor 12 Jahren.

ECJ Missing

Regular Member Beiträge: 141 Beitrittsdatum: 03.03.12 Neueste Beiträge
Hi..
WHen i do andbuilt a simple portlet i get ...
Task cannot continue because ECJ is not installed.

ECJ was automatically installed. Please rerun your task.
Rerun gives the same error.
thumbnail
Akash Jaisawal, geändert vor 12 Jahren.

RE: ECJ Missing

Regular Member Beiträge: 141 Beitrittsdatum: 03.03.12 Neueste Beiträge
i fixed it emoticon
thumbnail
Hitoshi Ozawa, geändert vor 12 Jahren.

RE: ECJ Missing

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
It's benefit the community if you can tell us how you've fixed your problem.
thumbnail
David H Nebinger, geändert vor 12 Jahren.

RE: ECJ Missing

Liferay Legend Beiträge: 14918 Beitrittsdatum: 02.09.06 Neueste Beiträge
He probably found the other forum posts where they mention how to add ECJ to the Ant runtime path in Eclipse. It is a standard problem that first time Eclipse/Liferay users run into...
thumbnail
Hitoshi Ozawa, geändert vor 12 Jahren.

RE: ECJ Missing

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
It's benefit the thread if there's a url to the page. Since nobody else seems to be doing it here, I'll do it.

http://www.liferay.com/community/wiki/-/wiki/Main/ECJ
thumbnail
David H Nebinger, geändert vor 12 Jahren.

RE: ECJ Missing

Liferay Legend Beiträge: 14918 Beitrittsdatum: 02.09.06 Neueste Beiträge
That would be great if the newbies would actually try reading the documentation before posting.... emoticon
thumbnail
Bibekananda Mishra, geändert vor 11 Jahren.

RE: ECJ Missing

New Member Beitrag: 1 Beitrittsdatum: 30.06.12 Neueste Beiträge
You simply need to put the ecj.jar file into the lib directory of the Ant plugin directory in your Eclipse install
1. Go to Window> Preferences> Ant> Runtime > Classpath
2. Add External jar (ex : E:\liferayliferay-plugins-sdk-6.1.0-ce-ga1-20120106155615760\lib\ecj.jar) , i.e. ecj.jar located under your plugin sdk folder.
3. Now Re-run the build script
Bhavik Shah, geändert vor 8 Jahren.

RE: ECJ Missing

Junior Member Beiträge: 64 Beitrittsdatum: 21.05.15 Neueste Beiträge
This is really helpful when we move from jre1.7 to 1.8.

Thanks Bibekananda Mishra!! emoticon

Regards,
Bhavik Shah
Knowarth Technologies