I wrote a simple FileTask to do just that: use the bnd ant task to produce
a bundle from a bnd file plus a hash of properties. This allows you to do
something like:
package(:bundle).tap do |bnd|
bnd.bnd_file => 'conf/foo.bnd'
bnd.classpath => artifacts(...)
bnd.properties['foo'] => 'bar'
end
I'm new to ruby and buildr but it works fine - happy to contribute this
somewhere if it'll be useful. I did look at buildr4osgi but didn't quite
see how to achieve the same results, possibly because I was already
familiar with bnd and the maven bundle plugin. I guess I need to take a
closer look!
~Greg
On Wed, 04 Nov 2009 12:47:48 -0500, Antoine Toulme
<[email protected]> wrote:
It is, actually it's done, take a look at buildr4osgi for it.
Thanks,
Antoine
On Wed, Nov 4, 2009 at 08:55, Sten Roger Sandvik <[email protected]> wrote:
Hi.
I am looking into how to create similar functionality as the Felix Maven
Bundle plugin for OSGi projects. It would be nice if the package task
could
recogize :bundle type and use ant bnd task in the background. Is it
possible
to extend package module in this way?
/srs