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 d7324f43bf2 CAMEL-21960: Update jbang docs
d7324f43bf2 is described below

commit d7324f43bf286a0fdb1c42a3fb73d447e7852782
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Aug 27 11:32:40 2025 +0200

    CAMEL-21960: Update jbang docs
---
 .../modules/ROOT/pages/camel-jbang.adoc            | 22 ++++------------------
 1 file changed, 4 insertions(+), 18 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 04243ab86b0..f467bda0782 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -592,6 +592,9 @@ such as in the following:
 
 The profile-specific configuration will override values in the common 
configuration.
 
+NOTE: You MUST include the properties files in the files path when using 
`camel run` or `camel export` to include the files, such as `camel run 
hello.java application.properties`.
+
+
 === Downloading JARs over the internet
 
 By default, Camel JBang will automatically resolve dependencies needed to run 
Camel, which is done
@@ -670,30 +673,13 @@ with the key `camel.jbang.repos` as shown:
 camel.jbang.repos=https://packages.atlassian.com/maven-external
 ----
 
-And when running Camel then `application.properties` is automatically loaded:
-
-[source,bash]
-----
-camel run foo.java
-----
-
-However, you can also explicitly specify the properties file to use:
+When running Camel you need to include the properties file to use:
 
 [source,bash]
 ----
 camel run foo.java application.properties
 ----
 
-And even better if you specify this as a profile:
-
-[source,bash]
-----
-camel run foo.java --profile=application
-----
-
-Where the profile id is the name of the properties file.
-
-
 === Configuration of Maven usage
 
 By default, existing `~/.m2/settings.xml` file is loaded, so it is possible to 
alter the behaviour of Maven resolution

Reply via email to