[ 
https://issues.apache.org/jira/browse/CAMEL-21148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17878318#comment-17878318
 ] 

Claus Ibsen commented on CAMEL-21148:
-------------------------------------

Oh I did not suspect jbang itself, but glad its working again. It is a little 
tricky to switch version as you need to start camel-jbang first, and then 
detect version switch, and then "sorta restart yourself on the fly".

> camel-jbang - camel run seems to get stuck at start up time when using 
> camel-version config set
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-21148
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21148
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.8.0
>            Reporter: Bruno Meseguer
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.8.0
>
>
> Running the following commands:
> {code:java}
> rm -r ~/.m2/repository
> rm -r .camel-jbang/
> rm hello.java 
> jbang app uninstall camel
> jbang cache clear
> jbang app install camel@apache/camel
> camel version set 4.8.0-SNAPSHOT
> camel init hello.java
> camel run hello.java{code}
> also with:
> {code:java}
> camel run --fresh hello.java{code}
> It seems to get Camel JBang in a loop, stuck at startup time. This is the 
> output:
> {code:java}
> Running integration with the following configuration:
>     --camel-version=4.8.0-SNAPSHOT
> [jbang] Resolving dependencies...
> [jbang] Artifacts used for dependency management:
>          org.apache.camel:camel-bom:pom:4.8.0-SNAPSHOT
> [jbang] org.apache.camel:camel-jbang-core:jar:4.8.0-SNAPSHOT
>          org.apache.camel.kamelets:camel-kamelets:jar:4.7.0
> Done
> [jbang] Dependencies resolved
> Running integration with the following configuration:
>     --camel-version=4.8.0-SNAPSHOT
> Running integration with the following configuration:
>     --camel-version=4.8.0-SNAPSHOT
> Running integration with the following configuration:
>     --camel-version=4.8.0-SNAPSHOT
> ...{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to