diff --git a/plugins/misc/projects/src/main/java/org/apache/hop/projects/xp/HopGuiFileReplaceHomeVariable.java b/plugins/misc/projects/src/main/java/org/apache/hop/projects/xp/HopGuiFileReplaceHomeVariable.java index e178207f2d2..92954a07777 100644 --- a/plugins/misc/projects/src/main/java/org/apache/hop/projects/xp/HopGuiFileReplaceHomeVariable.java +++ b/plugins/misc/projects/src/main/java/org/apache/hop/projects/xp/HopGuiFileReplaceHomeVariable.java @@ -60,10 +60,10 @@ public void callExtensionPoint( if (StringUtils.isNotEmpty(homeFolder)) { FileObject file = HopVfs.getFileObject(ext.filename); - String absoluteFile = file.getName().getURI(); + String absoluteFile = file.getName().getPath(); FileObject home = HopVfs.getFileObject(homeFolder); - String absoluteHome = home.getName().getURI(); + String absoluteHome = home.getName().getPath(); // Make the URI always end with a / if (!absoluteHome.endsWith("/")) { absoluteHome += "/";