From 1a4e80c9240ea6889691656153256ba897701a68 Mon Sep 17 00:00:00 2001 From: Scott Kurz Date: Mon, 14 Aug 2023 17:36:03 -0400 Subject: [PATCH] Canonicalize path for comparisons Signed-off-by: Scott Kurz --- .../java/io/openliberty/tools/common/plugins/util/DevUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java b/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java index 0e7ad79c..82ac7411 100644 --- a/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java +++ b/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java @@ -3894,7 +3894,7 @@ private void processFileChanges( Path configPath = this.configDirectory.getCanonicalFile().toPath(); Path outputPath = this.outputDirectory.getCanonicalFile().toPath(); - Path directory = fileChanged.getParentFile().toPath(); + Path directory = fileChanged.getParentFile().getCanonicalFile().toPath(); // resource file check File resourceParent = null;