Bnd can generate the DS xml from annotations but it will need a bnd plugin for DS. I think I tried this at some point and got it working but considered it too complicated for my case.

It could be a good improvement for Tinybundles though. Tinybundles could add the DS plugin for bnd by default. Then
it would be easy to create bundles with DS annotations on the fly.

Christian


On 15.09.2016 16:49, Toni Menzel wrote:
Tinybundles only has a raw builder (which adds nothing "magically", thats why its raw) and a bndBuilder, which lets bnd do its magic to generate a manifest. Yes, now we'd need a DS builder additionally to process the annotations and generate the xml. You can also add it explicitly (include the hand rolled xml). But thats really the worst option. Better make a DS generator for tinybundles.. ?


*Toni Menzel*

*
*

*Developer Advocates - The Rebaze Way *

*www.rebaze.de <http://www.rebaze.de/> |www.rebaze.com <http://www.rebaze.com/> | @rebazeio <https://twitter.com/rebazeio>*


On Thu, Sep 15, 2016 at 4:28 PM, Benson Margulies <[email protected] <mailto:[email protected]>> wrote:

    I've always been a bit unclear about which classes get
    incorporated into the test bundle with pax-exam. If I just have a
    class in the src/test/java, and that class has DS annotations,
    will pax-exam use bnd to build out the DS metadata? Or do I need
    to make an explicit tinybundle?

-- -- ------------------
    OPS4J - http://www.ops4j.org - [email protected]
    <mailto:[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]
    <mailto:[email protected]>.
    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.


--
--
------------------
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] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.


--
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