Foros de discusión

Problem building portlet in Liferay 6.1

thumbnail
onochie ojekwe, modificado hace 12 años.

Problem building portlet in Liferay 6.1

New Member Mensajes: 17 Fecha de incorporación: 8/04/11 Mensajes recientes
Can anyone help me with this? I just created a Liferay Portlet Project and upon building in Eclipse i get this message on my console.

BUILD FAILED
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\portlets\testCOCIS-portlet\build.xml:5: The following error occurred while executing this line:
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\portlets\build-common-portlet.xml:7: The following error occurred while executing this line:
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\build-common-plugin.xml:5: The following error occurred while executing this line:
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\build-common.xml:69: .

Task cannot continue because ECJ is not installed.

ECJ was automatically installed. Please rerun your task.

Total time: 1 second


Don't know how to resolve this or what the cause is!
thumbnail
Juan Gonzalez P, modificado hace 12 años.

RE: Problem building portlet in Liferay 6.1

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Try again. ECJ is installed and after that should work.
thumbnail
David H Nebinger, modificado hace 12 años.

RE: Problem building portlet in Liferay 6.1

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
You have to add the new jars to the eclipse ant runtime. Search the forum to find the steps to do this.
thumbnail
Juan Gonzalez P, modificado hace 12 años.

RE: Problem building portlet in Liferay 6.1

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Ohh right. I always compile using command line....
thumbnail
Hitoshi Ozawa, modificado hace 12 años.

RE: Problem building portlet in Liferay 6.1

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Are you using Liferay IDE (eclipse + Liferay plugin)? If not, you really should.
http://www.liferay.com/ja/downloads/liferay-projects/liferay-ide

Any ways, read the following wiki to get your answer.
thumbnail
Ravi Kumar Gupta, modificado hace 12 años.

RE: Problem building portlet in Liferay 6.1

Liferay Legend Mensajes: 1302 Fecha de incorporación: 24/06/09 Mensajes recientes
If that's not working, follow this wiki, it will work fine. http://www.liferay.com/community/wiki/-/wiki/Main/ECJ
thumbnail
Hitoshi Ozawa, modificado hace 12 años.

RE: Problem building portlet in Liferay 6.1

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Thanks Ravi, I forgot to paste the link.