[
https://issues.apache.org/jira/browse/CAMEL-22992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18058341#comment-18058341
]
Dominik Jelinek commented on CAMEL-22992:
-----------------------------------------
about priority, is this really a minor bug? it seems this could be blocker for
Windows users (which I believe is still a big group of users) and it prevents
them to use Camel Testing plugin..
The only possible workaround is to switch directly to Citrus JBang, but than
some features are lost like eg. for init file
* tests are not auto-generated into `test` sub-folder
* `jbang.properties` is not auto-generated
> camel-jbang - Unable to use camel test plugin on a Windows
> ----------------------------------------------------------
>
> Key: CAMEL-22992
> URL: https://issues.apache.org/jira/browse/CAMEL-22992
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang, camel-test
> Affects Versions: 4.17.0
> Environment: Windows
> Reporter: Dominik Jelinek
> Assignee: Christoph Deppisch
> Priority: Minor
> Attachments: Screenshot 2026-02-12 at 13.41.13.png
>
>
> For example init a new test file using
> {code:java}
> camel test init <filename>{code}
> or just call
> {code:java}
> camel test --help
> {code}
> on a macOS or Linux this is working just fine
>
> *Logs Output*
> {code:java}
> PS C:\Users\hudson\vscode-kaoto\test Fixture with speci@l
> chars\kaoto-view\example-tests> jbang '-Dcamel.jbang.version=4.17.0'
> camel@apache/camel test --help
> 2026-02-12 13:23:35.625 WARN 4300 --- [ main]
> org.citrusframework.jbang.JBangSupport : JBang installation not found.
> Downloading ...
> 2026-02-12 13:23:35.641 INFO 4300 --- [ main]
> org.citrusframework.jbang.JBangSupport : Using local JBang in
> C:\Users\hudson\.jbang
> 'C:\Users\hudson\.jbang\jbang\bin\jbang.cmd' is not recognized as an internal
> or external command,
> operable program or batch file. {code}
>
> Using a Citrus Framework through Citrus JBang plugin directly and executing
> is working just fine
> {code:java}
> citrus init <filename>{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)