question

Upvotes
Accepted
3 0 0 2

EMA Java - Allow EmaConfig.xml be loaded from jar's resource

Currently, in EMAJ 1.2.0, the EMAConfig.xml location can either be a path to the physical file, or a directory where the file is located. However, in our code, the xml is bundled with the jar as a resource. The current ConfigReader.loadFile(String) function does not work for us because you cannot use File class to represent a resource in the jar file.

Could you make a change in the config reader so that the config file can be a resource in the jar? Something like URL(classpath:/config/blah/EmaConfig.xml)

Thanks!

elektronrefinitiv-realtimeelektron-sdk
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
13k 32 12 18
@Anthony Au Yeung

ESDK development team tracks the issues and enhancements at the GitHub site. I would suggest that you request this functionality here.

icon clock
10 |1500

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

Click below to post an Idea Post Idea