You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/02/09 08:39:13 UTC

[4/5] camel git commit: Use shorthand Karaf commands

Use shorthand Karaf commands


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/45efeb7e
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/45efeb7e
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/45efeb7e

Branch: refs/heads/master
Commit: 45efeb7eb4635528a2ceb11ab2514d46c585954f
Parents: 9802034
Author: Antonin Stefanutti <an...@stefanutti.fr>
Authored: Mon Feb 8 19:32:21 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Feb 9 08:38:58 2016 +0100

----------------------------------------------------------------------
 examples/camel-example-cdi-osgi/README.md | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/45efeb7e/examples/camel-example-cdi-osgi/README.md
----------------------------------------------------------------------
diff --git a/examples/camel-example-cdi-osgi/README.md b/examples/camel-example-cdi-osgi/README.md
index b5fe812..4d7c8ae 100644
--- a/examples/camel-example-cdi-osgi/README.md
+++ b/examples/camel-example-cdi-osgi/README.md
@@ -56,15 +56,15 @@ This example can be executed within Karaf 2.x, 3.x and 4.x. From the command lin
 2. For Karaf 2.x, install the following pre-requisites:
 
     ```sh
-    karaf@root()> features:addUrl mvn:org.apache.camel.karaf/apache-camel/${version}/xml/features
-    karaf@root()> features:addUrl mvn:org.apache.activemq/activemq-karaf/5.12.1/xml/features
+    karaf@root()> chooseurl camel 2.17.0
+    karaf@root()> chooseurl activemq 5.12.1
     karaf@root()> features:install activemq-broker-noweb pax-cdi-weld camel-sjms camel-cdi
     ```
 
 3. Then install and start the example:
 
     ```sh
-    karaf@root()> osgi:install -s mvn:org.apache.camel/camel-example-cdi-osgi/${version}
+    karaf@root()> install -s mvn:org.apache.camel/camel-example-cdi-osgi/2.17.0
     ```
 
 Alternatively, with the new commands introduced since Karaf 3.x:
@@ -72,15 +72,15 @@ Alternatively, with the new commands introduced since Karaf 3.x:
 2. Install the pre-requisites:
 
     ```sh
-    karaf@root()> feature:repo-add mvn:org.apache.camel.karaf/apache-camel/${version}/xml/features
-    karaf@root()> feature:repo-add mvn:org.apache.activemq/activemq-karaf/5.12.1/xml/features
+    karaf@root()> repo-add camel 2.17.0
+    karaf@root()> repo-add activemq 5.12.1
     karaf@root()> feature:install activemq-broker-noweb pax-cdi-weld camel-sjms camel-cdi
     ```
 
 3. Then install and start the example:
 
     ```sh
-    karaf@root()> bundle:install -s mvn:org.apache.camel/camel-example-cdi-osgi/${version}
+    karaf@root()> install -s mvn:org.apache.camel/camel-example-cdi-osgi/2.17.0
     ```
 
 By tailing the log with:
@@ -165,7 +165,7 @@ context, e.g.:
 Finally, you can stop the example with:
 
 ```sh
-karaf@root()> bundle:uninstall camel-example-cdi-osgi
+karaf@root()> uninstall camel-example-cdi-osgi
 ```
 
 And check in the log that the Camel context has been gracefully