Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-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 97613E4B5 for ; Wed, 16 Jan 2013 13:25:46 +0000 (UTC) Received: (qmail 98713 invoked by uid 500); 16 Jan 2013 13:25:46 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 98244 invoked by uid 500); 16 Jan 2013 13:25:42 -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 98206 invoked by uid 99); 16 Jan 2013 13:25:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2013 13:25:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of heavy@ungoverned.org designates 209.85.214.178 as permitted sender) Received: from [209.85.214.178] (HELO mail-ob0-f178.google.com) (209.85.214.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2013 13:25:32 +0000 Received: by mail-ob0-f178.google.com with SMTP id eh20so1340283obb.9 for ; Wed, 16 Jan 2013 05:25:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=4b7AbKcmSZjcJjOIGxRzWNzVMvV5l2oqRDXnZ8hu+VY=; b=XNS0RSeAiVeIjj48XuE27UuOy8BlKg/0F3WWr5GyuclRIXJYly//ltTJuyZwkplVsM HzqBssCufImv1B9bS6W058Y5Xgrpfb+BV9/kr3f+ddLnNk7Q8dXPPTgjme4F8fUgRysf dzyNa7LQpE4KqOCisiGjtE2b4Qiv0k3WqrBm/NvzlNyT0eD4lSTmyWfCBpXZ8hZ2wRti 5WRLxpiE8H//ac/UVMMmKIkoCKXxV9KXBnbenQbNC7+TAtKdR185BENcKykyhhkLIh20 40k6v7VJL8oWei4nGfNl0mrLwE8/pho16wHI6ubQ8t4ql4lR2/TLRYpf3qpVhyerWYEZ 3rzg== X-Received: by 10.182.159.5 with SMTP id wy5mr790976obb.31.1358342710567; Wed, 16 Jan 2013 05:25:10 -0800 (PST) Received: from [192.168.1.70] (adsl-99-62-222-230.dsl.sgnwmi.sbcglobal.net. [99.62.222.230]) by mx.google.com with ESMTPS id e1sm15966989oef.4.2013.01.16.05.25.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jan 2013 05:25:09 -0800 (PST) Message-ID: <50F6AA34.2030503@ungoverned.org> Date: Wed, 16 Jan 2013 08:25:08 -0500 From: "Richard S. Hall" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: dev@felix.apache.org Subject: Re: OSGi bundle repository missing information References: <50F56727.60007@ungoverned.org> <50F571D8.3070601@nettrader.fr> <50F58146.4080805@ungoverned.org> <50F661AE.5060209@nettrader.fr> In-Reply-To: <50F661AE.5060209@nettrader.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQklMikj6Un0oOuA3HKTahrH34pV1w/+oT79Fh/snXHj14b3h8fXIx3llSggSZrYWzaQUYkS X-Virus-Checked: Checked by ClamAV on apache.org On 1/16/13 03:15 , Nicolas F. wrote: > On 15/01/2013 17:18, Richard S. Hall wrote: >> On 1/15/13 10:12 , Nicolas F. wrote: >>> >>>> It wouldn't hurt anything, but it wouldn't serve much purpose >>>> currently, would it? The main point of the OBR XML file is to >>>> provide sets of capabilities and requirements for resolving >>>> dependencies. It isn't a very good resource for generating general >>>> use documentation about bundles. >>>> >>>> -> richard >>> >>> We are developing a bundle in order to manage local bundles and OBR >>> bundles though an user interface. We will be pleased to let the user >>> see bundle icons if there is one. We do not want to use non-osgi >>> components in order to let the user create their own bundle >>> repositories using standard tools. >> >> Yeah, I understand and it isn't that it doesn't make any sense at >> all, but it seems such "end user readability" features could never >> end, which would ultimately be the wrong purpose for the repository XML. >> >> Regardless, I'm not against allowing it somehow, since I think it >> makes sense for OBR to just ignore stuff it doesn't understand, so >> you could just add it and OBR could just ignore it. Not sure if the >> current implementation is this flexible or not. >> >> -> richard >> >> > The current implementation of OBR is flexible enough, but the maven > bundle plug-in has a limitation on resource when converting into XML : > felix/maven-obr-plugin/.. ResourceImpl.java line 174 > ```java > for (int i = 0; i < Resource.KEYS.length; i++) { > ``` > > The minimal resource are used, but if the map is used instead all > resource including Bundle-Icon should be exported in the OBR xml file. In that case, I guess you should open a JIRA issue against Maven Bundle Plugin. -> richard