geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " Jean-Baptiste Onofré" ...@nanthrax.net>
Subject Re: How to read an entry in an embbed jar file of the bundle
Date Mon, 03 May 2010 11:40:39 GMT
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
> 
> What is the correct entry path for the a.xml file ?
> Thanks !
> -- 
> Ivan
> 
> 
> 


Mime
View raw message