Return-Path: Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: (qmail 52978 invoked from network); 13 Jan 2011 16:40:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2011 16:40:14 -0000 Received: (qmail 47964 invoked by uid 500); 13 Jan 2011 16:40:14 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 47935 invoked by uid 500); 13 Jan 2011 16:40:13 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 47926 invoked by uid 99); 13 Jan 2011 16:40:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 16:40:12 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 16:40:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0DGdnXB026062 for ; Thu, 13 Jan 2011 16:39:49 GMT Message-ID: <8678806.345621294936789457.JavaMail.jira@thor> Date: Thu, 13 Jan 2011 11:39:49 -0500 (EST) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Subject: [jira] Commented: (KARAF-380) Add .jar deployer autowrapping non-bundle-jar files dropped to deploy folder In-Reply-To: <24267172.282271294754453763.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-380?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12981= 324#action_12981324 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-380: -------------------------------------------- It's a good idea Andreas. The PAX URL wrap: protocol provides the possibility to define OSGi statemen= t in the URI (such as the Bundle-SymbolicName, etc). What do you think to add a .osgi file near the .jar file describing the OSG= i statements, like: my.jar my.osgi where my.osgi contains: Bundle-SymbolicName: Bundle-Version: etc ? > Add .jar deployer autowrapping non-bundle-jar files dropped to deploy fol= der > -------------------------------------------------------------------------= --- > > Key: KARAF-380 > URL: https://issues.apache.org/jira/browse/KARAF-380 > Project: Karaf > Issue Type: New Feature > Reporter: Andreas Pieber > > See http://mail-archives.apache.org/mod_mbox/karaf-dev/201101.mbox/browse= r for full discussion; short summary: > My concern is to deploy clients JARs like by example JARS used by project= Apache Hadoop > If we detect a file in the deploy/ directory with the extension '.jar', A= ND the JAR's manifest does NOT contain any OSGi headers, THEN we assume tha= t it's a plain-old-jar, and perform an auto-wrap. > Using the OSGi ranking attribute on services should be sufficient in orde= r to keep them ordered. > And checking the 'jar' extension would clearly remove most of the bad sit= uations for that case. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.