Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Kiran Kumar Boyini
Problem with ant operation on portal-web in liferay 6.1.1 ce ga2 version
November 29, 2012 10:13 PM
Answer

Kiran Kumar Boyini

Rank: Expert

Posts: 286

Join Date: June 2, 2011

Recent Posts

Hi All,

I am setting the liferay 6.1.1 ce ga2 version with portal source code and plugins, in bundles putting apche-tomcat 6 version.

When I am performing ant build-themes task under portal-web (from portal/portal-web/).

But In console it is showing the following error.


Buildfile: D:\workspace_6.1.1_ce_ga2\liferay-portal-src-6.1.1-ce-ga2\portal-web\build.xml

BUILD FAILED
D:\workspace_6.1.1_ce_ga2\liferay-portal-src-6.1.1-ce-ga2\portal-web\build.xml:4: The following error occurred while executing this line:
D:\workspace_6.1.1_ce_ga2\liferay-portal-src-6.1.1-ce-ga2\build-common-web.xml:4: The following error occurred while executing this line:
D:\workspace_6.1.1_ce_ga2\liferay-portal-src-6.1.1-ce-ga2\build-common.xml:308: .

Task cannot continue because ECJ is not installed.

ECJ was automatically installed. Please rerun your task.


Note : But in file build-common.xml ,I have seen this statement ECJ is installed automatically.

<if>
<available file="${ant.home}/lib/ecj.jar" />
<then>
<fail>
.

Task cannot continue because ECJ is not installed.

ECJ was automatically installed. Please rerun your task.
</fail>
</then>
</if>
</then>
</if>


Thanks

Kiran
Ali Reza Akbarian
RE: Problem with ant operation on portal-web in liferay 6.1.1 ce ga2 versio
November 30, 2012 12:14 AM
Answer

Ali Reza Akbarian

Rank: New Member

Posts: 6

Join Date: April 7, 2012

Recent Posts

hi kiran.
in liferay IDE goto window->preferences->ant->runtime.
click on ant home entries then add ecj jar file to ant home.
tnks.
Hitoshi Ozawa
RE: Problem with ant operation on portal-web in liferay 6.1.1 ce ga2 versio
December 1, 2012 3:14 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Are you getting the same error when you rerun the ant task?
Manish Kumar
RE: Problem with ant operation on portal-web in liferay 6.1.1 ce ga2 versio
December 1, 2012 9:06 PM
Answer

Manish Kumar

Rank: Junior Member

Posts: 94

Join Date: March 1, 2012

Recent Posts

hello kiran.
As It is discussed above you have to go to this way in liferay IDE window->preferences->ant->runtime-> add home. entries
then click on this you will get an option add external jar, then you move to your lib of sdk installed, There you can get the ecj,jar.
this will resolve your problem.
Thanks