O.K. I found how to make this OSGi craft work:
karaf@root> features:addUrl
mvn:org.apache.camel/camel-example-osgi/2.12-SNAPSHOT/xml/features
karaf@root> features:install camel-example-osgi
karaf@root> log:tail
2013-05-20 12:17:08,537 | INFO | timer://myTimer | MyTransform
Am 18.05.13 23:00 schrieb "Babak Vahdat" unter
:
>Hi Guillaume,
>
>I just found your post below as I was playing with the installation of a
>Camel example (camel-example-osgi on the master branch) into Karaf 2.3.1
>and
>hope you could tell me where I'm going wrong here. Yes dropping
>features.xm
Hi Guillaume,
I just found your post below as I was playing with the installation of a
Camel example (camel-example-osgi on the master branch) into Karaf 2.3.1 and
hope you could tell me where I'm going wrong here. Yes dropping features.xml
into the deploy folder would work (beforehand one should
Indeed. This is not until now possible if the features file is embedded in
a jar/bundle. The features file should be deployed separately from the
bundle
On Sat, Jan 26, 2013 at 9:54 AM, Claus Ibsen wrote:
> On Tue, Jan 22, 2013 at 2:03 PM, Charles Moulliard
> wrote:
> > You are right. The ques
On Tue, Jan 22, 2013 at 2:03 PM, Charles Moulliard wrote:
> You are right. The question is perhaps much more conceptual than technical
> but Do we really need to create a archive with a KAR extension instead of
> allowing to deploy a JAR file (= bundle) containing a features xml file
> which is in
You are right. The question is perhaps much more conceptual than technical
but Do we really need to create a archive with a KAR extension instead of
allowing to deploy a JAR file (= bundle) containing a features xml file
which is in fact the proposition of Claus Ibsen and certainly others ?
On Tu
Well a KAR archive was created for this exact scenario. So if we do this
for std. jars, why would we need kars then?
2013/1/22 Charles Moulliard
> On 22/01/13 11:42, Achim Nierbeck wrote:
>
>> hmm, afairc the deployment of a feature.xml embedded in a jar was meant to
>> work this way. It was su
On 22/01/13 11:42, Achim Nierbeck wrote:
hmm, afairc the deployment of a feature.xml embedded in a jar was meant to
work this way. It was supposed to install just the feature itself without
starting it right away. This was planned to work this way since it might
result in "Downloading the complet
hmm, afairc the deployment of a feature.xml embedded in a jar was meant to
work this way. It was supposed to install just the feature itself without
starting it right away. This was planned to work this way since it might
result in "Downloading the complete internet" if someone isn't careful with
t
Hi Claus,
Procedure to deploy camel example with this instruction install -s
feature:mvn:org.apache.camel/camel-example-sql/2.11-SNAPSHOT works fine now
with that modification (https://issues.apache.org/jira/browse/KARAF-2134)
EXCEPTED that the feature content (= bundles) are not installed. Guilla
On Mon, Jan 21, 2013 at 3:50 PM, Charles Moulliard wrote:
> Works better. Nevertheless the features defined in the features file
> deployed as a bundle are not deployed. Here is an example
>
> [ 127] [Installed ] [] [ 80] camel-example-sql
> (2.11.0.SNAPSHOT) // CONTAINS FEATURES.XM
Works better. Nevertheless the features defined in the features file
deployed as a bundle are not deployed. Here is an example
[ 127] [Installed ] [] [ 80] camel-example-sql
(2.11.0.SNAPSHOT) // CONTAINS FEATURES.XML FILE
karaf@root> listurl
Loaded URI
true
bundle://118.0:0/ME
Raised and fixed https://issues.apache.org/jira/browse/KARAF-2134
The workaround is to use the plain http url instead of the mvn url.
On Mon, Jan 21, 2013 at 10:42 AM, Charles Moulliard wrote:
> Convention is : META-INF + "/" + one directory where directory =
> "org.apache.karaf.shell.features"
Convention is : META-INF + "/" + one directory where directory =
"org.apache.karaf.shell.features" + "/" + "*.xml" where * corresponds to a
features.xml file
On Mon, Jan 21, 2013 at 9:28 AM, Claus Ibsen wrote:
> Hi
>
> Charles may have pointed out about the naming of the features file.
>
> Shou
Hi
Charles may have pointed out about the naming of the features file.
Should it be a file in META-INF which has this long name with all the dots?
Or should it be a features.xml file in META-INF/org/apache/... eg deep
down in a sub dir
On Fri, Jan 18, 2013 at 3:41 PM, Claus Ibsen wrote:
> Hi
I just had a quick look and discovered that existing code of Karaf 2.3 when
a bundle is deployed using the command
"feature:mvn:org.apache.camel/camel-example-sql/2.11-SNAPSHOT" does not
install the features file included under META-INF directory.
The existing code will only do that if the status o
On Sun, Jan 20, 2013 at 6:55 PM, Achim Nierbeck wrote:
> Did you also start the bundle? To my understanding a bundle-tracker is only
> able to kick in when a bundle is fully resolved. Therefore a start is
> needed. You might also do this right when installing with osgi:instll -s
> mvn:
>
Good
Did you also start the bundle? To my understanding a bundle-tracker is only
able to kick in when a bundle is fully resolved. Therefore a start is
needed. You might also do this right when installing with osgi:instll -s
mvn:
regards, Achim
2013/1/18 Claus Ibsen
> Hi
>
>
>
> On Fri, Jan 18,
Yes, that will work.
But as I understood from Guillaume, Karaf already provides the "feature
deployer". The question is: Why it doesn't work? ;-)
It would be great if you (or another Karaf committer) could have a look why
it doesn't work for Claus example.
Best,
Christian
On Sat, Jan 19, 2013 at
For my own examples I normally offer a README.txt with the commands to
install the example.
Like this one:
https://github.com/cschneider/Karaf-Tutorial/blob/master/camel/jms2rest/ReadMe.txt
Of course it is more than one command for a complex example but you can
simply copy/paste the whole comm
On Fri, Jan 18, 2013 at 3:17 PM, Guillaume Nodet wrote:
> Fwiw, when you use the url handler or drop the file in the deploy folder,
> both methods just generate a bundle which has the feature file inside
> META-INF/org.apache.karaf.shell.features
>
I cannot find any details about this in the docs
On Fri, Jan 18, 2013 at 12:46 PM, Achim Nierbeck
wrote:
> Hi Clause,
>
> thanks for summing up what we talked of on IRC :)
>
Yeah I guess it was a brief summary. I am just trying to push the envelope,
to make developing / using / deploying integration applications with
the Apache stack easier.
T
Hi
On Fri, Jan 18, 2013 at 2:30 PM, Guillaume Nodet wrote:
> Are you talking about the features deployer ?
> Karaf has it already. You can use osgi:install feature:mvn:xxx or drop the
> features file in the deploy directory, or deploy any bundle which has a
> META-INF/org.apache.karaf.shell.fe
Fwiw, when you use the url handler or drop the file in the deploy folder,
both methods just generate a bundle which has the feature file inside
META-INF/org.apache.karaf.shell.features
On Fri, Jan 18, 2013 at 2:53 PM, Achim Nierbeck wrote:
> Oh well,
>
> didn't remember the last possibility of t
Oh well,
didn't remember the last possibility of the features-deployer :)
thanks, Achim
2013/1/18 Guillaume Nodet
> Are you talking about the features deployer ?
> Karaf has it already. You can use osgi:install feature:mvn:xxx or drop the
> features file in the deploy directory, or deploy an
Are you talking about the features deployer ?
Karaf has it already. You can use osgi:install feature:mvn:xxx or drop the
features file in the deploy directory, or deploy any bundle which has a
META-INF/org.apache.karaf.shell.features/*.xml file inside.
On Fri, Jan 18, 2013 at 12:46 PM, Achim Nie
Hi Clause,
thanks for summing up what we talked of on IRC :)
I think it could be even easier.
We could add a bundle tracker for features.xml files that will install
those with the features service.
For this we don't even need a special syntax of the osgi:install url
(and actually if you want a ur
27 matches
Mail list logo