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!

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓
    @Anthony Au Yeung

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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.