[ 
https://issues.apache.org/jira/browse/CAMEL-22992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominik Jelinek updated CAMEL-22992:
------------------------------------
    Description: 
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}

  was:
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

 

*Stacktrace*
{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}


> 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
>            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)

Reply via email to