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

Claus Ibsen commented on CAMEL-18497:
-------------------------------------

Yeah its a bit tricky to do as jbang does not support "apps" to specify easily 
arguments to their "main" script, and hence the -D JVM system property is the 
current "way of doing this".
You can possible create an OS shell alias using the long command line where you 
set the version.

We also have idea of allowing to specify the version in a config file, so you 
can set it once - ala camel set-version x.y.z



> camel-jbang - camel run -v x.y.z
> --------------------------------
>
>                 Key: CAMEL-18497
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18497
>             Project: Camel
>          Issue Type: Task
>          Components: camel-jbang
>            Reporter: Pasquale Congiusti
>            Priority: Minor
>             Fix For: 3.x
>
>
> We can specify any Camel version when using the jbang CLI as documented in: 
> https://camel.apache.org/manual/camel-jbang.html#_using_a_specific_camel_version
> However, it would be nice to have the same feature when using directly camel 
> CLI, in order to have the very same behavior.



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

Reply via email to