Include-Resource is relative to the bnd file (which I guess is the maven pom
directory?). So this should work but it might be bnd cannot find the file. You
can rename the file like:
<Include-Resource>someconfig.file=resources/someconfig.file</Include-Resource>
Kind regards,
Peter Kriens
On 29 dec 2010, at 11:39, Gebo Uniken wrote:
> Hi!
>
> I'm trying to osgi-ify a jar that has some configuration files in the root
> folder of the jar:
>
> some.jar:
> META-INF
> MANIFEST.MF
> org
> apache
> etc.
> someconfig.file
>
> If I run BND/ maven bundle plugin 'someconfig.file' is not included in the
> bundle. I tried <Include-Resource>someconfig.file</Include-Resource> but that
> didn't work. What is the best way to handle this?
>
> Thanks,
> Gebo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]