felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alin Dreghiciu" <adreghi...@gmail.com>
Subject Re: [Bnd] including root level resources on the bundle classpath?
Date Tue, 05 Jun 2007 14:01:13 GMT
Private-Package is about directories, so you will have to have a package
before to get included.
But uou can use:

Include-Resource: log4j.properties

that will put your file in the root of the jar.


On 6/5/07, Peter Neubauer <peter.neubauer@jayway.se> wrote:
> Hi there,
> I would like to include resources at root level (without a package
> name) so they get into the bundles classpath, e.g. log4j.properties.
> What do I use to get the included? I tried something like
> Private-Package: lib, log4j.properties
> in my details.bnd (using PaxConstruct structure) but that does only
> include the resources under src/main/resources/lib/, not
> src/main/resources/log4j.properties.
> Cheers
> /peter

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message