yesamer commented on issue #717:
URL: 
https://github.com/apache/incubator-kie-issues/issues/717#issuecomment-1941006955

   Hi @baldimir @gitgabrio and @mariofusco 
   
   I analyzed this issue based on the above reproducer, log, and zulip 
discussion.
   I put a breakpoint near: 
`io.quarkus.deployment.pkg.steps.JarResultBuildStep.copyCommonContent 
(JarResultBuildStep.java:1180)` to determine which kind of Path was passed 
(most of the time, when an issue occurs in Windows-os only, it's related to the 
path format management), and here you can see the list in the below image:
   
   <img width="471" alt="Screenshot 2024-02-08 at 09 12 19" 
src="https://github.com/apache/incubator-kie-issues/assets/16005046/e2537b1d-3221-4bcf-bd87-f29bbcdb8cb9";>
   
   The first item is the one that leads to the exception. As you may notice, 
it's the only item with a OS-dependent (Windows) Path.
   
   The origin of that path string is the `GeneratedFile.java` class in drools 
repo.
   <img width="1063" alt="Screenshot 2024-02-08 at 10 19 25" 
src="https://github.com/apache/incubator-kie-issues/assets/16005046/058202f0-92cf-4c8b-bc84-9e093a2bed99";>
   
   For testing purposes, I forced that `pathAsString` to always hold a 
POSIX-based path, replacing all the  "\" with a "/".
   I'm aware this can be proposed as the effective solution for this issue, 
because of its potential impact (that `pathAsString` is used in several places) 
and I guess we should define a more "structural" solution based on its scope.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to