On 06.04.2017 17:26, Massimo Bono wrote:
It totally worked!

Your method it seems interesting: you use <_include>bnd.bnd</_include> tag to decouple the pom.xml (maven information) with the information regarding OSGi. Since you're here can I ask you a couple of questions regarding your method:

1) What if I need to add a variable inside the bnd.bnd file? In maven I can use properties or I can override plugin behaviour. If I move my OSGi settings to the bnd.bnd file what kind of variable support do I have?
2) are you using bndtools with it (just curious)?
You can use maven properties inside the bnd files.
I am using bndtools but just as an editor for the bnd file.

I also have an example where I use bndtools for packaging using bndrun files see https://github.com/cschneider/osgi-chat but I did not yet use this in production. So it is still a bit experimental.

Christian

--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to