Liferay Symposium 2015 | Reserve your seat today.


Home » Liferay IDE » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
Shabana Popat
Service builder not generating files in liferay 6.0.5
December 13, 2012 4:18 AM

Shabana Popat

Rank: Junior Member

Posts: 37

Join Date: December 13, 2012

Recent Posts

I'm trying to use service builder, but when I execute command ant build-service on command line it's not creating files.
I'm using liferay-portal-6.0.5, liferay-plugins-sdk-5.0.3 and jdk 1.7

Here is what is shown in console:

 3ant -Dservice.file=docroot/WEB-INF/service.xml build-service      Buildfile: build.xml   
 4 build-service:
 5 [java] Loading jar:file:/C:/liferayPortal/liferay-portal-6.0.5/tomcat-6.0.26/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/ 
 6 [java] Loading jar:file:/C:/liferayPortal/liferay-portal-6.0.5/tomcat-6.0.26/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/   
 7 [java] Loading jar:file:/C:/liferayPortal/liferay-portal-6.0.5/tomcat-6.0.26/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/tools/dependencies/
 8 [java] 09:26:34,921 INFO  [PortalImpl:277] Global lib directory /C:/liferayPortal/liferay-portal-6.0.5/tomcat-6.0.26/lib/ext/ 
 9 [java] 09:26:34,928 INFO  [PortalImpl:297] Portal lib directory /C:/liferayPortal/liferay-portal-6.0.5/tomcat-6.0.26/webapps/ROOT/WEB-INF/lib/
10 [java] com.liferay.portal.kernel.xml.DocumentException: Nested exception: 
11 [java]     at
12 [java]     at
13 [java]     at<init>( 
14 [java]     at<init>(   
15 [java]     at    
16 [java] Caused by: org.dom4j.DocumentException: Nested exception:      
17 [java]     at       
18 [java]     at      
19 [java]     at 
20 [java]     ... 4 more                               
21 [mkdir] Created dir: C:\liferayPortal\liferay-portal-6.0.5\liferay-plugins-sdk-5.2.3\portlets\buildservice-portlet\docroot\WEB-INF\service-classes      
22 [zip] Warning: skipping zip archive C:\liferayPortal\liferay-portal-6.0.5\liferay-plugins-sdk-5.2.3\portlets\buildservice-portlet\docroot\WEB-INF\lib\buildservice-portlet-service.jar because no files were included.
23 [delete] Deleting directory C:\liferayPortal\liferay-portal-6.0.5\liferay-plugins-sdk-5.2.3\portlets\buildservice-portlet\docroot\WEB-INF\service-classes   
24 BUILD SUCCESSFUL                                                               

its give the notice "Build Sucessfull", but has some exception and then the files isn't generate.
Can someone help me, please.

thanks in advance.