From 6dc6715dcd42c8ce3a25bbc993d01df1d09768e0 Mon Sep 17 00:00:00 2001 From: Rodin Aarssen Date: Mon, 22 Jul 2024 14:40:35 +0200 Subject: [PATCH] Fixed path normalization for embedded maven Co-authored-by: Davy Landman --- src/org/rascalmpl/library/util/PathConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/rascalmpl/library/util/PathConfig.java b/src/org/rascalmpl/library/util/PathConfig.java index a295ac2a95..0f5c82eb87 100644 --- a/src/org/rascalmpl/library/util/PathConfig.java +++ b/src/org/rascalmpl/library/util/PathConfig.java @@ -708,7 +708,7 @@ private static CliRequest buildRequest(String[] args, ISourceLocation manifestRo var cons = CliRequest.class.getDeclaredConstructor(String[].class, ClassWorld.class); cons.setAccessible(true); var result = cons.newInstance(args, null); - setField(result, "workingDirectory", manifestRoot.getPath()); + setField(result, "workingDirectory", new File(manifestRoot.getPath()).getPath()); setField(result, "multiModuleProjectDirectory", new File(manifestRoot.getPath())); return result; }