This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new d65950a8701 CAMEL-20426: Add docs to camel-jbang about what is not
supported with version
d65950a8701 is described below
commit d65950a8701f031a034daab038d2a324421f724c
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Feb 16 12:05:17 2024 +0100
CAMEL-20426: Add docs to camel-jbang about what is not supported with
version
---
docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index d672fefc55c..099b74657ae 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -930,6 +930,15 @@ Running integration with the following configuration:
...
----
+IMPORTANT: You cannot use both a set version via `camel version set` and also
a version specified via `--camel-version` option,
+i.e the following is not possible:
+
+[source,bash]
+----
+camel version set 4.0.1
+camel run * --camel-version=4.3.0
+----
+
If you want to unset the version, you can use the `--reset` option:
[source,bash]
@@ -3364,6 +3373,16 @@ camel run *
The user configuration file is stored in `~/.camel-jbang-user.properties`
+IMPORTANT: You cannot use both a set version via `camel config set` and also a
version specified via `--camel-version` option,
+i.e the following is not possible:
+
+[source,bash]
+----
+camel config set camel-version=4.0.1
+camel run * --camel-version=4.3.0
+----
+
+
=== Set and unset configuration
Every Camel JBang option is added to the user configuration. For example, to
export a simple project such as