Return-Path: X-Original-To: apmail-karaf-user-archive@minotaur.apache.org Delivered-To: apmail-karaf-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5A519B28 for ; Thu, 26 Jan 2012 08:25:35 +0000 (UTC) Received: (qmail 2679 invoked by uid 500); 26 Jan 2012 08:25:35 -0000 Delivered-To: apmail-karaf-user-archive@karaf.apache.org Received: (qmail 2517 invoked by uid 500); 26 Jan 2012 08:25:30 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 2505 invoked by uid 99); 26 Jan 2012 08:25:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2012 08:25:28 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anpieber@gmail.com designates 209.85.215.48 as permitted sender) Received: from [209.85.215.48] (HELO mail-lpp01m010-f48.google.com) (209.85.215.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2012 08:25:23 +0000 Received: by lagz14 with SMTP id z14so263534lag.21 for ; Thu, 26 Jan 2012 00:25:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gcrXsF8tZGvIEJ7Egz91i89xpIFRR5gMu2WktWXzfxM=; b=rkl3SX6GV6iPZJ7FfC5ppIuB8BHUfamIFeXFWpYDrj23Enz0n46r3uGRKIgsvC7pEX AWZslEr3v0TdCmGlixySLDOF8WsnwqE3Rh6ABMxnAYCgedtG8F1g9CSH3SsWz+qP7H9/ mwlm+aFTkltdtRRkCOXZV5p4rSb6fQzV/KmIg= MIME-Version: 1.0 Received: by 10.152.114.68 with SMTP id je4mr588145lab.35.1327566301496; Thu, 26 Jan 2012 00:25:01 -0800 (PST) Received: by 10.112.36.137 with HTTP; Thu, 26 Jan 2012 00:25:01 -0800 (PST) In-Reply-To: <1327565078168-3689882.post@n3.nabble.com> References: <1327515291228-3688482.post@n3.nabble.com> <4F2047DC.2040903@nanthrax.net> <1327516670243-3688541.post@n3.nabble.com> <1327565078168-3689882.post@n3.nabble.com> Date: Thu, 26 Jan 2012 09:25:01 +0100 Message-ID: Subject: Re: featuresRepositories is overriden by defined feature repositories? From: Andreas Pieber To: user@karaf.apache.org Content-Type: multipart/alternative; boundary=f46d04083869d103f204b76a1dd2 --f46d04083869d103f204b76a1dd2 Content-Type: text/plain; charset=ISO-8859-1 ok, first of all one issue: your featuresrepository is not completely correct. mvn:org.apache.karaf.assemblies.features/standard/2.2.5/xml/features... Besides of this you're facing a completely different problem. You're using karaf 2.2.4 and expect it to start 2.2.5 bundles simply because you change the features.xml repository. This wont work that way because of (e.g.; only one reason) etc/startup.properties. It's NOT a good idea to use different karaf features.xml than comming with your karaf distribution (but feel free to change/add any other repository url). I've tested what you've described with karaf 2.2.5 and everything works as expected. Can you pls check if using Karaf 2.2.5 fixes your problems too? Kind regards, Andreas On Thu, Jan 26, 2012 at 09:04, christoforos.vasilatos < christoforos.vasilatos@gmail.com> wrote: > So, your suggestion is to create a features.xml and add explicitly the > features that i want to add with their version?Like someone would do in > order to add his own bundles, but use it for i.e. camel cxf etc? > > But isn't it enough to define them in the featuresBoot property of the > org.apache.karaf.features.cfg configuration file (for example > ssh;version=2.2.5,camel;version=2.9.0)? I tried the above and although the > camel and some extra bundles were added correctly at the defined version, > the core packages of karaf were not (for example even though defining > ssh;version=2.2.5 the bundle installed at last was at 2.2.4 version) > > Best Regards, > Christoforos > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/featuresRepositories-is-overriden-by-defined-feature-repositories-tp3688482p3689882.html > Sent from the Karaf - User mailing list archive at Nabble.com. > --f46d04083869d103f204b76a1dd2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable ok, first of all one issue: your featuresrepository is not completely corre= ct.=A0mvn:org.apache.karaf.assemblies.features/standard/2.2.5/xml/features.= ..

Besides of this you're facing a completely differ= ent problem. You're using karaf 2.2.4 and expect it to start 2.2.5 bund= les simply because you change the features.xml repository. This wont work t= hat way because of (e.g.; only one reason) etc/startup.properties. It's= NOT a good idea to use different karaf features.xml =A0than comming with y= our karaf distribution (but feel free to change/add any other repository ur= l).

I've tested what you've described with karaf 2.= 2.5 and everything works as expected. Can you pls check if using Karaf 2.2.= 5 fixes your problems too?

Kind regards,
Andreas

On Thu, Jan 26, 2012 = at 09:04, christoforos.vasilatos <christoforos.vasilatos@gmail.com> wrote:
So, your suggestion is to create a features.= xml and add explicitly the
features that i want to add with their version?Like someone would do in
order to add his own bundles, but use it for i.e. camel cxf etc?

But isn't it enough to define them in the featuresBoot property of the<= br> org.apache.karaf.features.cfg configuration file (for example
ssh;version=3D2.2.5,camel;version=3D2.9.0)? I tried the above and although = the
camel and some extra bundles were added correctly at the defined version, the core packages of karaf were not (for example even though defining
ssh;version=3D2.2.5 the bundle installed at last was at 2.2.4 version)

Best Regards,
Christoforos

--
View this message in context: http://karaf.922171.n3.nabble.com/features= Repositories-is-overriden-by-defined-feature-repositories-tp3688482p3689882= .html
Sent from the Karaf -= User mailing list archive at Nabble.com.

--f46d04083869d103f204b76a1dd2--