diff --git a/drools-model/drools-codegen-common/src/main/java/org/drools/codegen/common/GeneratedFile.java b/drools-model/drools-codegen-common/src/main/java/org/drools/codegen/common/GeneratedFile.java index bd5455641e2..741754efd30 100644 --- a/drools-model/drools-codegen-common/src/main/java/org/drools/codegen/common/GeneratedFile.java +++ b/drools-model/drools-codegen-common/src/main/java/org/drools/codegen/common/GeneratedFile.java @@ -67,7 +67,7 @@ private GeneratedFile(GeneratedFileType type, Path path, String pathAsString, by } this.path = path; - this.pathAsString = pathAsString; + this.pathAsString = pathAsString.replace('\\', '/'); this.contents = contents; }