Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by luxiangyuan · Oct 29, 2018 at 11:18 PM · elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-api

Where is the usage Elektron-SDK1.2.0.java

Hi:

I download the java sdk "Elektron-SDK1.2.0.java"

I download the example"Article.EMA.Java.ChainExpander"

I can not compile the example successful.

Where is the useage of the java sdk?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

5 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Jirapongse · Oct 30, 2018 at 05:22 AM

The steps to build Article.EMA.Java.ChainExpander with Elektron-SDK1.2.0.java are:

  1. git clone https://github.com/TR-API-Samples/Article.EMA.Java.ChainExpander
  2. cd Article.EMA.Java.ChainExpander
  3. git submodule init
  4. git submodule update
  5. set ELEKTRON_JAVA_HOME=C:\api\Elektron-SDK1.2.0.java\setup\Elektron-SDK1.2.0.java.rrg\Elektron-SDK1.2.0.java.rrg

  6. Copy the script files:
    • Article.EMA.Java.ChainExpander\build320.bat
    • Article.EMA.Java.ChainExpander\ValueAddObjectsForEMA\build320.bat
    • Article.EMA.Java.ChainExpander\ValueAddObjectsForEMA\Manifest320.txt
  7. Run build320.bat in the Article.EMA.Java.ChainExpander folder
Building ValueAddObjectsForEMA...
Building the ValueAddObjectsForEMA javadoc...
Building the MarketPriceStepByStepExample application...
Building the ChainStepByStepExample application...
Building jar files...
Copying dependencies...
1 File(s) copied
1 File(s) copied
1 File(s) copied
1 File(s) copied
1 File(s) copied
1 File(s) copied
1 File(s) copied
1 File(s) copied
1 File(s) copied
** ValueAddObjectsForEMA project successfully built **
Building the ChainExpander application...
Building the jar file...
** ChainExpander project successfully built **

I have attached build scipts for Elektron-SDK1.2.0.java. Please copy files to the Article.EMA.Java.ChainExpander and Article.EMA.Java.ChainExpander\ValueAddObjectsForEMA folders.

script320.zip

If it doesn't work, please share the error messages.


elektron-home.jpg (44.0 KiB)
script320.zip (2.4 KiB)
Comment

People who like this

0 Show 2 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
luxiangyuan · Nov 22, 2018 at 06:38 AM 0
Share

I am so sorry that I am busied myself on other workers, now I have time to resolve this problem.

I did as you sugested, but failed, the log as log-ema-java.txt.

It seems that some step or files missed.

I down load "Elektron-SDK1.2.2.java"

log-ema-java.txt

log-ema-java.txt (4.7 KiB)
avatar image
luxiangyuan · Nov 22, 2018 at 06:54 AM 0
Share

after I set the ELEKTRON_JAVA_HOME = E:\srcRefer\Elektron-SDK1.2.2.java\setup\Elektron-SDK1.2.2.java.rrg\Java\Ema,

I get the build info as "ema-java-log"

Can I open a new question to discuss?

ema-java-build-log.txt

ema-java-build-log.txt (5.8 KiB)
avatar image
REFINITIV
Answer by pimchaya.wongrukun01 · Oct 29, 2018 at 11:32 PM

Hello @luxiangyuan

Explanations for building and running the ChainExpander is available in the section Building the ChainExpander and the ValueAddObjectsForEMA of the README.md file. Have you read and follow the instructions in the section yet?

If you find any errors, please look into the section Troubleshooting which explains some common errors and the solutions.

Hope this help.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by luxiangyuan · Oct 30, 2018 at 01:57 AM

Hello Pimchaya.Wongrukun

I try sevel “ELEKTRON_JAVA_HOME”,but it does not work。

I download the java sdk "Elektron-SDK1.2.0.java_0.zip", and uzip it to "E:/", so what is the "ELEKTRON_JAVA_HOME" should be?

thanks

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by Jirapongse · Oct 30, 2018 at 02:15 AM

The structure of the package has been changed. Therefore, the current script will not work with Elektron-SDK-1.2.x.

I have quickly created build scripts (build321.bat and build321.ksh) for Elektron-SDK-1.2.1.java. Please try.

Please set ELEKTRON_JAVA_HOME to the root directory of Elektron package, such as "D:\setup\Elektron-SDK1.2.1.java.rrg\Elektron-SDK1.2.1.java.rrg"

script.zip


script.zip (4.2 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by luxiangyuan · Oct 30, 2018 at 04:45 AM

hello jirapongse.phuriphanvichai

I install the "gradle-4.10";

I download the sdk "Elektron-SDK1.2.0.java_0.zip"

I set the ELEKTRON_JAVA_HOME

I download the example "Article.EMA.Java.ChainExpander"

I read the articles on the web "Elektron SDK - Java"

but I even can not solve my porblems:

1、how to use the java sdk;

2、how to compile the example "Article.EMA.Java.ChainExpander".


Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

EMA CPP - Exception adding ric into OmmArray

(JAVA) Does using interestAfterRefresh(false) remove the need for deregistering items with Elektron?

Login Domain - Components and Elements in Login responses

EMA Webinar Nov 2: what exactly the Speedguide tool does ?

TREP connection count abnormal

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges