Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9C6DF200C6A for ; Wed, 19 Apr 2017 11:48:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9B137160B94; Wed, 19 Apr 2017 09:48:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DFE53160B86 for ; Wed, 19 Apr 2017 11:48:46 +0200 (CEST) Received: (qmail 94200 invoked by uid 500); 19 Apr 2017 09:48:45 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 94189 invoked by uid 99); 19 Apr 2017 09:48:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2017 09:48:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2DFCA183991 for ; Wed, 19 Apr 2017 09:48:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id FhlK6vtMDRbu for ; Wed, 19 Apr 2017 09:48:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id B6A405F659 for ; Wed, 19 Apr 2017 09:48:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0013FE0BDD for ; Wed, 19 Apr 2017 09:48:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id AC05B21B48 for ; Wed, 19 Apr 2017 09:48:41 +0000 (UTC) Date: Wed, 19 Apr 2017 09:48:41 +0000 (UTC) From: "David Bosschaert (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Resolved]_(FELIX-5611)_Bundl?= =?utf-8?Q?eRepository_must_deal_properly_R5_ind?= =?utf-8?Q?ex_file_with_resources_with_relative?= =?utf-8?Q?_path_from_the_given_repository=E2=80=99s_URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 19 Apr 2017 09:48:47 -0000 [ https://issues.apache.org/jira/browse/FELIX-5611?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert resolved FELIX-5611. ------------------------------------- Resolution: Fixed Fix Version/s: bundlerepository-2.0.10 > BundleRepository must deal properly R5 index file with resources with rel= ative path from the given repository=E2=80=99s URL > -------------------------------------------------------------------------= ------------------------------------------ > > Key: FELIX-5611 > URL: https://issues.apache.org/jira/browse/FELIX-5611 > Project: Felix > Issue Type: Improvement > Components: Bundle Repository (OBR) > Affects Versions: bundlerepository-2.0.8 > Reporter: Cristiano Gavi=C3=A3o > Assignee: David Bosschaert > Fix For: bundlerepository-2.0.10 > > > I've created some index.xml (R5) files using a tool that was based on old= bindex tool. since those files will be hosted in a server the url attribut= e of bundles and other resources are using relative path (what I think is t= he right approach since we don't know the real address of the server at thi= s time: > {quote} > > > > > > > {quote} > But when I try to deploy any bundle using RepositoryAdmin or obr:deploy c= ommand, I'm getting an exception: java.net.MalformedURLException: no protoc= ol: plugins/ch.qos.logback.core_1.2.1.jar > The proposed solution is to pass the URL of the repository to the parser = and in case of a non-absolute uri were found it will be resolved against th= e repository uri. -- This message was sent by Atlassian JIRA (v6.3.15#6346)