Forums

Home » Alloy UI » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Akash Jaisawal
ECJ Missing
March 10, 2012 1:56 AM
Answer

Akash Jaisawal

Rank: Regular Member

Posts: 138

Join Date: March 3, 2012

Recent Posts

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.
Akash Jaisawal
RE: ECJ Missing
March 10, 2012 2:12 AM
Answer

Akash Jaisawal

Rank: Regular Member

Posts: 138

Join Date: March 3, 2012

Recent Posts

i fixed it emoticon
Hitoshi Ozawa
RE: ECJ Missing
March 10, 2012 3:37 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

It's benefit the community if you can tell us how you've fixed your problem.
David H Nebinger
RE: ECJ Missing
March 11, 2012 10:45 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 13225

Join Date: September 1, 2006

Recent Posts

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...
Hitoshi Ozawa
RE: ECJ Missing
March 11, 2012 3:10 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

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
David H Nebinger
RE: ECJ Missing
March 11, 2012 6:03 PM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 13225

Join Date: September 1, 2006

Recent Posts

That would be great if the newbies would actually try reading the documentation before posting.... emoticon
Bibekananda Mishra
RE: ECJ Missing
July 6, 2012 11:59 PM
Answer

Bibekananda Mishra

Rank: New Member

Posts: 1

Join Date: June 29, 2012

Recent Posts

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
RE: ECJ Missing
July 22, 2015 11:03 PM
Answer

Bhavik Shah

Rank: Junior Member

Posts: 45

Join Date: May 20, 2015

Recent Posts

This is really helpful when we move from jre1.7 to 1.8.

Thanks Bibekananda Mishra!! emoticon

Regards,
Bhavik Shah
Knowarth Technologies

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!