Skip to content

Commit

Permalink
fix filenames for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wiauxb committed Sep 18, 2024
1 parent 4278ba5 commit 73e2170
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private static Individual parseConfigFile(String filePath, OntModel model, Bag f

List<String> lines = Files.readAllLines(Paths.get(filePath));

Individual file = model.createIndividual(OntCWAF.NS + filePath, OntCWAF.FILE);
Individual file = model.createIndividual(OntCWAF.NS + filePath.replace("\\", "/"), OntCWAF.FILE);
file.addLiteral(OntCWAF.FILE_PATH, filePath);
file_bag.add(file);

Expand Down

0 comments on commit 73e2170

Please sign in to comment.