question

Upvotes
Accepted
0 1 1 2

we getting Error while building Real-time SDK application on docker Image

we are using Jenkins pipeline to create docker image but we are getting below error while building Real-time-SDK on docker Image.

docker image :gradle:7.3.3-jdk17-alpine

11:49:25 #25 37.69 * What went wrong:

11:49:25 #25 37.69 A problem occurred evaluating project ':Java'.

11:49:25 #25 37.70 > Could not find method wrapper() for arguments [build_arduxfpezttd6ihaovk07vv1q$_run_closure7@47110717] on project ':Java' of type org.gradle.api.Project.


Also we tried to remove below and tried but we are getting error

wrapper {

gradleVersion = '7.3.3'

}


Error:

12:05:22 #25 66.43 > Task :Core:compileJava

12:05:22 #25 66.43 /home/gradle/Core/src/main/java/com/refinitiv/ema/access/DataImpl.java:12: error: package com.refinitiv.eta.valueadd.common does not exist

12:05:22 #25 66.43 import com.refinitiv.eta.valueadd.common.VaNode;

12:05:22 #25 66.44 ^

12:05:22 #25 66.44 /home/gradle/Core/src/main/java/com/refinitiv/ema/access/DataImpl.java:16: error: cannot find symbol

12:05:22 #25 66.44 class DataImpl extends VaNode implements Data

12:05:22 #25 66.44 ^

12:05:22 #25 66.44 symbol: class VaNode


Kindly please help on this issue.

#technology#productema-apijavaeta-apirefinitiv-realtime-optimiseddocker
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
27.5k 67 18 14

Hi @saimahesh.mummaneni

I am not sure if it is a good idea to build the entire RTSDK package with Docker. You should build only the code and configurations you need.

There is the Refinitiv Real-Time Java Docker Image that is built on top of Oracle Linux. The goal of this image is for SDK learning only, not for production use.

I highly recommend you contact the RTSDK Dev team via the RTSDK GitHub page if you really need to build the entire RTSDK package with Docker.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.