Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E672819C21 for ; Tue, 5 Apr 2016 13:00:32 +0000 (UTC) Received: (qmail 66430 invoked by uid 500); 5 Apr 2016 13:00:27 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 66367 invoked by uid 500); 5 Apr 2016 13:00:27 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 66302 invoked by uid 99); 5 Apr 2016 13:00:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2016 13:00:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8C5552C1F58 for ; Tue, 5 Apr 2016 13:00:27 +0000 (UTC) Date: Tue, 5 Apr 2016 13:00:27 +0000 (UTC) From: =?utf-8?Q?Thierry_Yg=C3=A9_=28JIRA=29?= To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JCRVLT-113) Skip installation of sub packages if newer version is already present and installed 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/JCRVLT-113?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1522= 6203#comment-15226203 ]=20 Thierry Yg=C3=A9 commented on JCRVLT-113: ------------------------------------ added sample patch in the pull request -> https://github.com/apache/jackrab= bit-filevault/pull/4 > Skip installation of sub packages if newer version is already present and= installed > -------------------------------------------------------------------------= ---------- > > Key: JCRVLT-113 > URL: https://issues.apache.org/jira/browse/JCRVLT-113 > Project: Jackrabbit FileVault > Issue Type: Improvement > Components: Packaging > Affects Versions: 3.1.26 > Reporter: Thierry Yg=C3=A9 > Fix For: 3.1.28 > > > In our testing environment we release package that may contains dependenc= y library (for ui testing), when different ui testing modules are installed= separately it may happen then that the embedded sub package contains an o= lder version than the one currently installed, and that produce issues. > To avoid that, it would help if during the package installation, the extr= act process would check for sub packages if another package of same group/n= ame is already installed and is more recent, and so skip it. > I have prepared a sample solution, including the junit test to validate i= t. > It would be great to add this in the next release. -- This message was sent by Atlassian JIRA (v6.3.4#6332)