Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 73990 invoked from network); 24 Mar 2009 11:48:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2009 11:48:17 -0000 Received: (qmail 49758 invoked by uid 500); 24 Mar 2009 11:48:16 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 49696 invoked by uid 500); 24 Mar 2009 11:48:16 -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 49686 invoked by uid 99); 24 Mar 2009 11:48:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 11:48:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 11:48:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5DB62234C003 for ; Tue, 24 Mar 2009 04:47:53 -0700 (PDT) Message-ID: <826695914.1237895273358.JavaMail.jira@brutus> Date: Tue, 24 Mar 2009 04:47:53 -0700 (PDT) From: "Sahoo (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-932) Don't install plain jar files as bundles In-Reply-To: <337775536.1234255139956.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688652#action_12688652 ] Sahoo commented on FELIX-932: ----------------------------- [I wanted to add this comment while closing the issue, but there was a minor glitch while closing, so I could not add the comment then. Adding it now] Given that it is not easy to find out whether a jar is bundle or not, and there is no side effect of installing a plain jar as a bundle, I am fine with the current behavior. So, I am closing the issue as INVALID. > Don't install plain jar files as bundles > ---------------------------------------- > > Key: FELIX-932 > URL: https://issues.apache.org/jira/browse/FELIX-932 > Project: Felix > Issue Type: Bug > Components: File Install > Environment: generic > Reporter: Sahoo > > File Install bundle currently does not check the jar file to see if it has any OSGi metadata or not. It assumes every jar file as OSGi bundle and installs them. At the minimum, it should look for Bundle-SymbolicName header and in the absence of the same, it should exclude the jar file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.