RE: Building and Deploying the WSDD

thumbnail
ali yeganeh, modified 6 Years ago. Regular Member Posts: 148 Join Date: 5/1/19 Recent Posts
I install the WSDD Builder plugin in my Liferay Workspace (in my settings.gradle file) according to this doc.
When I run the buildWSDD Gradle task in my *-service module, I have the following error!!!
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':modules:guestbook:guestbook-service:buildWSDDJar'.
> aQute.bnd.gradle.BndUtils.logReport(LaQute/service/reporter/Report;Lorg/gradle/api/logging/Logger;)V

How can I solve this problem?
thumbnail
Yan Paing, modified 5 Years ago. Regular Member Posts: 130 Join Date: 3/11/10 Recent Posts
Hello ,
I also the same issue. Can someone suggest please.  I am using liferay 7.2. My build.gradle as per following 
dependencies {
    compileOnly group: "com.liferay", name: "com.liferay.petra.lang"
    compileOnly group: "com.liferay", name: "com.liferay.petra.string"
    compileOnly group: "com.liferay", name: "com.liferay.portal.aop.api"
    compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel"
    compileOnly group: "org.osgi", name: "org.osgi.annotation.versioning"
    compileOnly group: "org.osgi", name: "org.osgi.core"
    compileOnly group: "org.osgi", name: "org.osgi.service.component.annotations"
    compileOnly project(":modules:guestbook:guestbook-api")
    
    compileOnly group: "com.liferay", name: "com.liferay.petra.function"
    compileOnly group: "com.liferay", name: "com.liferay.petra.model.adapter"
    compileOnly group: "com.liferay", name: "com.liferay.petra.reflect"
    
    compileOnly group: "javax.portlet", name: "portlet-api"
    compileOnly group: "javax.servlet", name: "javax.servlet-api"
    compileOnly group: "com.liferay", name: "com.liferay.registry.api"
    
}buildService {
    apiDir = "../guestbook-api/src/main/java"
}group = "com.liferay.docs.guestbook"
Thanks ,
​​​​​​​Yan Paing
thumbnail
ali yeganeh, modified 5 Years ago. Regular Member Posts: 148 Join Date: 5/1/19 Recent Posts
Hi
I Generate Remote Services through Service Builder ( JSONWS ) , and it satisfies all my desires
thumbnail
Yan Paing, modified 5 Years ago. Regular Member Posts: 130 Join Date: 3/11/10 Recent Posts
Thank you @ali yeganeh
kinjal modiya, modified 5 Years ago. New Member Posts: 2 Join Date: 6/4/20 Recent Posts
Any solutions?