Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 24797 invoked from network); 3 May 2010 11:33:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 May 2010 11:33:56 -0000 Received: (qmail 21766 invoked by uid 500); 3 May 2010 11:33:56 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 21723 invoked by uid 500); 3 May 2010 11:33:56 -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 21711 invoked by uid 99); 3 May 2010 11:33:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 11:33:56 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [217.70.178.76] (HELO relay2-v.mail.gandi.net) (217.70.178.76) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 11:33:48 +0000 X-Originating-IP: 10.0.10.71 Received: from localhost (front1-v.mgt.gandi.net [10.0.10.71]) by relay2-v.mail.gandi.net (Postfix) with ESMTP id DFB0F135E4; Mon, 3 May 2010 13:33:27 +0200 (CEST) MIME-Version: 1.0 X-Mailer: Webmail Message-ID: <13838.1272886839@nanthrax.net> To: , , "Ivan" Reply-To: jb@nanthrax.net Content-Type: text/plain; charset="utf-8" X-Origin: 212.71.32.84 Date: Mon, 3 May 2010 13:40:39 +0200 Subject: Re: How to read an entry in an embbed jar file of the bundle From: "=?utf-8?B?IEplYW4tQmFwdGlzdGUgT25vZnLDqQ==?=" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, Using Blueprint, it's quite easy as you can define some kind of properties = place holder. Anyway, the best practice, it's to use a ThreadContextClassLoader to make a= getResource() etc. Regards JB On Mon 03/05/10 13:27, "Ivan" xhhsld@gmail.com wrote: > Hi, > Is there a simple way to read an entry in an embbed jar file of the > bundle ? For a bundle with the structure below : > /META-INF > a.jar > /META-INF/a.xml >=20 > What is the correct entry path for the a.xml file ? > Thanks ! > --=20 > Ivan >=20 >=20 >=20