Re: [Pax-exam] Import package with attributes

2016-12-27 Thread Henri Tremblay
Thanks. I was pretty much there but I can't wrappedBundle(junitBundles()) So I guess I need to wrap one of the 3 bundles inside the junitBundles. Probably bundle( "link:classpath:META-INF/links/org.ops4j.pax.tipi.junit.link"). I will try tonight but will be happy if there is an easier way. But

Re: [Pax-exam] Import package with attributes

2016-12-27 Thread 'Achim Nierbeck' via OPS4J
Hi, you can wrap the junit bundle and add those export declarations to it. [1] Just make sure you don't have the junit configuration [2] in your project, as that will collide with your own custom declaration. Hope this helps, Achim [1] -

[Pax-exam] Import package with attributes

2016-12-27 Thread Henri Tremblay
Hi, I've been fighting for a bunch of hours now so I hope someone can help me. I've trying to test EasyMock OSGi configuration with Pax-Exam. Everything works fine except one thing. I need to export a conditional package from the JUnit bundle. With an attribute. Normally I would import like

Add process environment option to Pax Exam

2016-12-27 Thread Zoran Regvart
Hi guys, could someone take a look at the pull request I did that adds environment options to Pax Exam[1] and if everything is on par merge it? thanks and enjoy the holidays :) zoran [1] https://github.com/ops4j/org.ops4j.pax.exam2/pull/54 -- Zoran Regvart -- -- -- OPS4J -