Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A4721833D for ; Fri, 9 Oct 2015 12:29:27 +0000 (UTC) Received: (qmail 3040 invoked by uid 500); 9 Oct 2015 12:29:27 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 3008 invoked by uid 500); 9 Oct 2015 12:29:27 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 2993 invoked by uid 99); 9 Oct 2015 12:29:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2015 12:29:27 +0000 Date: Fri, 9 Oct 2015 12:29:27 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-3918) An installed blueprint.xml has always been updated and restarted when install another unrelated feature MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-3918?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated KARAF-3918: ---------------------------------------- Fix Version/s: (was: 4.0.2) 4.0.3 > An installed blueprint.xml has always been updated and restarted when ins= tall another unrelated feature > -------------------------------------------------------------------------= ------------------------------ > > Key: KARAF-3918 > URL: https://issues.apache.org/jira/browse/KARAF-3918 > Project: Karaf > Issue Type: Bug > Components: karaf-feature > Affects Versions: 4.0.0 > Environment: Java 7 > Reporter: Xilai Dai > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 4.0.3 > > > There is an installed blueprint.xml. (by install -s blueprint:mvn:org.abc= /my-project/1.0-SNAPSHOT/xml, or deploy this blueprint.xml into deploy fold= er). > then, if you do feature:install xxxx, to install some other feature (no d= ependencies to the blueprint.xml above), the installed blueprint.xml will a= lways be updated and restarted, that's not expected behavious. > After checking with org.apache.karaf.features.internal.service.Deployer c= lass, I found that the old checksum will only be calculated in case of url = start with "jar:" (Line 1159), so in case of the url start with "blueprint:= ", the new checksum will never equal with old checksum, then it will be put= into deployment.toUpdate Map. > The Deployer class should be fixed for "blueprint:" deployment. -- This message was sent by Atlassian JIRA (v6.3.4#6332)