Cannot generate classes on Windows #19

Closed
opened 2025-12-30 01:19:36 +01:00 by adam · 1 comment
Owner

Originally created by @Omico on GitHub (Feb 4, 2024).

Too lazy to take my Macbook out of my bag, assuming it works on macOS. Working on my remote Linux. So, I concluded this is related to Windows.

> Task :codegen-kotlin:configClasses FAILED

Execution failed for task ':codegen-kotlin:configClasses'.
> Illegal character in opaque part at index 2: G:\Git\apple\pkl-jvm-examples\codegen-kotlin\src\main\resources\Birds.pkl

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 293ms
1 actionable task: 1 executed
Originally created by @Omico on GitHub (Feb 4, 2024). Too lazy to take my Macbook out of my bag, assuming it works on macOS. Working on my remote Linux. So, I concluded this is related to Windows. ``` > Task :codegen-kotlin:configClasses FAILED Execution failed for task ':codegen-kotlin:configClasses'. > Illegal character in opaque part at index 2: G:\Git\apple\pkl-jvm-examples\codegen-kotlin\src\main\resources\Birds.pkl * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 293ms 1 actionable task: 1 executed ```
adam closed this issue 2025-12-30 01:19:36 +01:00
Author
Owner

@bioball commented on GitHub (Feb 5, 2024):

At the moment, Pkl does not support Windows, but this is something we plan on providing. For now, you should be able to use WSL to run Pkl though.

Closing due to #20 already existing.

@bioball commented on GitHub (Feb 5, 2024): At the moment, Pkl does not support Windows, but this is something we plan on providing. For now, you should be able to use WSL to run Pkl though. Closing due to #20 already existing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#19