Skip to content
Snippets Groups Projects
Commit a0db9dd0 authored by FrankR's avatar FrankR
Browse files

bugfix: absolute path to json-file

parent 125f1168
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,8 @@ public class TestEventFilter { ...@@ -27,7 +27,8 @@ public class TestEventFilter {
eventFilter filter = new eventFilter(); eventFilter filter = new eventFilter();
EventFilterCondition config = datamodelFactory.createEventFilterCondition(); EventFilterCondition config = datamodelFactory.createEventFilterCondition();
String jsonPath = "C:\\IPOS\\software\\eXcore\\src\\main\\java\\ipos\\excore\\configExample.json"; //assign your JSON file here String jsonPath = System.getProperty("user.dir") + "\\src\\main\\java\\ipos\\project\\Functionality\\eventfilter\\configExample.json"; //assign your JSON file here
try { try {
readConfig.readFilterConfigFromJson(jsonPath, config); readConfig.readFilterConfigFromJson(jsonPath, config);
} catch (Exception e) { } catch (Exception e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment