Hello
Thanks for the reply (also to Richard).
I tried Include-Resource before but it didn't work for me.
> > How can I tell bnd to include META-INF/spring/*.xml to the created
> > bundle?
>
> are you using Bnd directly or the maven-bundle-plugin?
I am using it with ant:
<bnd files="osgi.bnd" classpath="bin" output="bundle"/>
osgi.bnd:
Private-Package: osgi
Bundle-Activator: osgi.TestActivator
Include-Resource: META-INF/**
I am getting following error:
[bnd] Errors
[bnd] Input file does not exist: META-INF/**
[bnd] /home/martin/workspace-3.4/osgi/osgi.bnd: bnd failed
[bnd] at
aQute.bnd.ant.BndTask.executeBackwardCompatible(BndTask.java:126)
...
I also tried different paths META-INF, /META-INF, /META-INF/*. I also put
META-INF directory to src and to the project root where also osgi.bnd is.
What am I doing wrong? I am just doing first steps with OSGi and this
frustrates me. I would like to stay with ant, felix and Spring-DM.
Thanks in advance.
--
Martin Zdila
CTO
M-Way Solutions Slovakia s.r.o.
Letna 27, 040 01 Kosice
Slovakia
tel:+421-908-363-848
mailto:[EMAIL PROTECTED]
http://www.mwaysolutions.com
xmpp:[EMAIL PROTECTED] (Jabber)
skype:m.zdila
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]