diff --git a/inject/tools/src/main/java/io/helidon/inject/tools/CodeGenFiler.java b/inject/tools/src/main/java/io/helidon/inject/tools/CodeGenFiler.java index d7451576208..ef0e16bee47 100644 --- a/inject/tools/src/main/java/io/helidon/inject/tools/CodeGenFiler.java +++ b/inject/tools/src/main/java/io/helidon/inject/tools/CodeGenFiler.java @@ -477,6 +477,7 @@ private Filer scratchFiler() throws IOException { private Optional codegenResourceFilerOut(String outPath, String body, Optional> optFnUpdater) { + outPath = outPath.replace(File.separator, "/"); Messager messager = messager(); if (!filerWriterEnabled()) { messager.log("(disabled) Writing " + outPath + " with:\n" + body);