Fórum

Service Builder BUILD FAILED

thumbnail
Fateh Alchhabi, modificado 11 Anos atrás.

Service Builder BUILD FAILED

Junior Member Postagens: 58 Data de Entrada: 01/12/10 Postagens Recentes
Hi All
I build primeFaces portlet With SDK liferay-plugins-sdk-6.1.1-ce-ga2-20121004092655026
but when i want to use Service builder to build my tables
Service builder Failed to finish building the table

and this my error message

[Console output redirected to file:E:\eclipse_Liferay_IDE_1.6.1\workspace\.metadata\.plugins\com.liferay.ide.eclipse.sdk\sdk.log]
Buildfile: E:\eclipse_Liferay_IDE_1.6.1\SDK Staff\liferay-plugins-sdk-6.1.1\portlets\SwCoursesLibrary-portlet\build.xml
build-service:
[mkdir] Created dir: E:\eclipse_Liferay_IDE_1.6.1\SDK Staff\liferay-plugins-sdk-6.1.1\portlets\SwCoursesLibrary-portlet\docroot\WEB-INF\service
[mkdir] Created dir: E:\eclipse_Liferay_IDE_1.6.1\SDK Staff\liferay-plugins-sdk-6.1.1\portlets\SwCoursesLibrary-portlet\docroot\WEB-INF\sql

BUILD FAILED
E:\eclipse_Liferay_IDE_1.6.1\SDK Staff\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:210: The following error occurred while executing this line:
E:\eclipse_Liferay_IDE_1.6.1\SDK Staff\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:71: No suitable relative path from E:\eclipse_Liferay_IDE_1.6.1\SDK Staff\liferay-plugins-sdk-6.1.1\portlets\SwCoursesLibrary-portlet to D:\Liferay-Dwonload\LifeRay 6.0.5 setup\6.0.6\liferay-portal-6.0.6\tomcat-6.0.29\webapps\ROOT\WEB-INF\classes

Total time: 643 milliseconds


in the attachment my Service file
thumbnail
Fateh Alchhabi, modificado 11 Anos atrás.

RE: Service Builder BUILD FAILED (Resposta)

Junior Member Postagens: 58 Data de Entrada: 01/12/10 Postagens Recentes
I found the answer
The Problem from liferay SDK
i make down ground to the SDK liferay-plugins-sdk-6.1.0-ce-ga1-20120106155615760
and every thing goes nice and smooth
M Bose, modificado 10 Anos atrás.

RE: Service Builder BUILD FAILED

New Member Postagens: 3 Data de Entrada: 07/04/13 Postagens Recentes
Hi Fateh,

I getting the same error i.e. No suitable relative path from .
I didn't understand the solution you gave on the post mentioned above .Request you to elaborate.

Regards,
M Bose, modificado 10 Anos atrás.

RE: Service Builder BUILD FAILED

New Member Postagens: 3 Data de Entrada: 07/04/13 Postagens Recentes
Got it now you .. instead of liferay-plugins-sdk-6.1.1-ce-ga2-20121004092655026 use the oldest one liferay-plugins-sdk-6.1.0-ce-ga1-20120106155615760 .

Thanks again.

Regards
thumbnail
Alexis Araya, modificado 10 Anos atrás.

RE: Service Builder BUILD FAILED

Junior Member Postagens: 37 Data de Entrada: 08/10/13 Postagens Recentes
M Bose:
Got it now you .. instead of liferay-plugins-sdk-6.1.1-ce-ga2-20121004092655026 use the oldest one liferay-plugins-sdk-6.1.0-ce-ga1-20120106155615760 .

Thanks again.

Regards


I have the same problem

The SDK is in my pc and the server instance is remote

Local SDK
C:\liferay\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\

Remote Tomcat Liferay Instance

P:\liferay-portal-6.1.2-ce-ga3\tomcat-7.0.40\

see log.


Buildfile: C:\liferay\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\portlets\Form-technical-bulletin-portlet\build.xml
build-service:

BUILD FAILED
C:\liferay\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:257: The following error occurred while executing this line:
C:\liferay\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:118: No suitable relative path from C:\liferay\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\portlets\Form-technical-bulletin-portlet to P:\liferay-portal-6.1.2-ce-ga3\tomcat-7.0.40\webapps\ROOT\WEB-INF\classes

Total time: 23 seconds



Any Idea??

Tranks.