This is an automated email from the ASF dual-hosted git repository.

yamer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-drools.git


The following commit(s) were added to refs/heads/main by this push:
     new a169248979 [incubator-kie-issues#717] mvn package throws an exception 
in Kogito project in Microsoft Windows machines with 
`quarkus.package.type=uber-jar` (#5694)
a169248979 is described below

commit a169248979bed452386ca92058520ced3b6b5564
Author: Yeser Amer <[email protected]>
AuthorDate: Tue Feb 20 09:48:03 2024 +0100

    [incubator-kie-issues#717] mvn package throws an exception in Kogito 
project in Microsoft Windows machines with `quarkus.package.type=uber-jar` 
(#5694)
    
    * kie-issues#717: Windows path management fixed.
    
    * kie-issues#717: Removed unnecessary changes.
    
    * kie-issues#717: Moving the fix on the field assignment to cover all the 
cases
---
 .../src/main/java/org/drools/codegen/common/GeneratedFile.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 bd5455641e..741754efd3 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 @@ public class GeneratedFile {
         }
 
         this.path = path;
-        this.pathAsString = pathAsString;
+        this.pathAsString = pathAsString.replace('\\', '/');
         this.contents = contents;
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to