構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Onochie Ojekwe
Problem building portlet in Liferay 6.1
2012/04/25 8:56
答え

Onochie Ojekwe

ランク: New Member

投稿: 15

参加年月日: 2011/04/08

最近の投稿

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!
Juan Gonzalez
RE: Problem building portlet in Liferay 6.1
2012/04/25 10:12
答え

Juan Gonzalez

LIFERAY STAFF

ランク: Liferay Legend

投稿: 2176

参加年月日: 2008/10/28

最近の投稿

Try again. ECJ is installed and after that should work.
David H Nebinger
RE: Problem building portlet in Liferay 6.1
2012/04/25 10:20
答え

David H Nebinger

Community Moderator

ランク: Liferay Legend

投稿: 8438

参加年月日: 2006/09/01

最近の投稿

You have to add the new jars to the eclipse ant runtime. Search the forum to find the steps to do this.
Juan Gonzalez
RE: Problem building portlet in Liferay 6.1
2012/04/25 10:44
答え

Juan Gonzalez

LIFERAY STAFF

ランク: Liferay Legend

投稿: 2176

参加年月日: 2008/10/28

最近の投稿

Ohh right. I always compile using command line....
Hitoshi Ozawa
RE: Problem building portlet in Liferay 6.1
2012/04/25 15:08
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7952

参加年月日: 2010/03/23

最近の投稿

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.
Ravi Kumar Gupta
RE: Problem building portlet in Liferay 6.1
2012/04/25 21:06
答え

Ravi Kumar Gupta

ランク: Liferay Legend

投稿: 1254

参加年月日: 2009/06/23

最近の投稿

If that's not working, follow this wiki, it will work fine. http://www.liferay.com/community/wiki/-/wiki/Main/ECJ
Hitoshi Ozawa
RE: Problem building portlet in Liferay 6.1
2012/04/26 3:06
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7952

参加年月日: 2010/03/23

最近の投稿

Thanks Ravi, I forgot to paste the link.