Open codengine opened 20 hours ago
/cc @ebullient (cli), @maxandersen (cli)
that is resulting in an unescaped string to be made.
up for try fix that and test on windows and make a pullrequest ?
something like path.replace("\\", "\\\\");
should suffice.
Describe the bug
I'm using the Quarkus CLI 3.14.4 that I installed through Chocolatey with PowerShell on Windows 10. When I try to update my project through
quarkus:update
, the generated openrewrite recipe contains a non-escaped path to the recipe itself here:It should be
With that change, the recipe works fine when I invoke the upgrade through gradle manually.
Moreover, instead of reporting the error, the upgrade itself is stuck and does nothing.
Expected behavior
The upgrade is cancelled on errors and paths should be generated correctly on Windows environments.
Actual behavior
Process is stuck and silent, upgrade fails.
How to Reproduce?
Output of
uname -a
orver
Windows 10 22H2
Output of
java -version
openjdk version "22.0.1" 2024-04-16
Quarkus version or git rev
3.14.4
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.8
Additional information
No response