Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想jops.xml从自定义位置加载我的其中包括我的 JavaPos 设备。我该怎么做?
jops.xml
您可以使用JposPropertiesConst.JPOS_POPULATOR_FILE_PROP_NAME属性对其进行设置。
JposPropertiesConst.JPOS_POPULATOR_FILE_PROP_NAME
示例如何将其设置为 env-var:
System.setProperty(JposPropertiesConst.JPOS_POPULATOR_FILE_PROP_NAME, System.getenv("jposxml_path"));