janihur opened a new issue, #147:
URL: https://github.com/apache/camel-kit/issues/147
`camel-implement/guides/run-script.md` generates `run.sh` as `jbang
camel@apache/camel run <files> --properties=application.properties`, without
`--camel-version`. The alias then runs the Camel version its script defaults to
(`//DEPS org.apache.camel:camel-jbang-core:{camel.jbang.version:4.22.0}` in
`dsl/camel-jbang/camel-jbang-main/dist/CamelJBang.java` on apache/camel
`main`), not `project.camelVersion` from `.camel-kit/config.properties`.
Versions:
```
$ camel version
JBang version: 0.142.0
Camel CLI version: 4.22.1
$ camel kit --version
0.4.1
$ cat ../.camel-kit/config.properties
#Camel-Kit Project Configuration
#Thu Oct 15 13:00:16 EEST 2026
agent.folder=.claude/commands
agent.name=claude
citrus.mcp.version=5.0.1
citrus.version=5.0.1
forage.version=1.6.1
project.camelVersion=4.22.1
project.command-prefix=camel kit
project.name=myplus-ei-apache-camel-devenv
project.platformBomVersion=4.22.1
project.runtime=main
```
Example run:
```
$ jbang camel@apache/camel run hello-api.camel.yaml
--properties=application.properties --max-seconds=8
[...]
Apache Camel 4.22.0 (hello-api) started in 655ms (build:0ms init:0ms
start:655ms boot:2s57ms)
[...]
```
Camel Kit says `4.22.1` but runtime says `4.22.0`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]