Re: Adapt PAX-Exam as an OSGI runner?

2016-10-24 Thread Steinar Bang
> Toni Menzel : [snip! Interesting stuff about OSGi runners that I may study in depth at some point in time] >- Karaf Distribution: that seems to be the way to go right now. You can >define your "system" as features & custom karaf distro. Both can be used >

Re: Adapt PAX-Exam as an OSGI runner?

2016-10-20 Thread Toni Menzel
Hey, actually Pax Exam was born as an internal Java based DSL for Pax Runner, _the_ way to create & launch OSGi runtimes back in 2009/2010. Then Exam superseded Runner in terms of breadth and usecases (native containers, forked containers, Java EE support etc). So you barely see the runner

Re: Adapt PAX-Exam as an OSGI runner?

2016-10-19 Thread Steinar Bang
> "'Achim Nierbeck' via OPS4J" : > Hi, > there used to be the pax-runner doing exactly this, but as it's not used as > the heart for Pax-Exam it only has frequent updates. > Never the less people still use it. Hand! :-)

Re: Adapt PAX-Exam as an OSGI runner?

2016-10-19 Thread Nick Baker
Thanks. We have several customized Karaf assemblies. I'm actually looking to take one of our custom artifact Deployers, which transforms legacy plugins into Bundles, and executing it as a Maven plugin to generate a bundle-form of these old plugins at build-time. Even when streaming between

Re: Adapt PAX-Exam as an OSGI runner?

2016-10-18 Thread 'Achim Nierbeck' via OPS4J
Hi, there used to be the pax-runner doing exactly this, but as it's not used as the heart for Pax-Exam it only has frequent updates. Never the less people still use it. Another thing to use, is to run with a Karaf minimal distribution, or better a custom distribution which is basically a stripped

Re: Adapt PAX-Exam as an OSGI runner?

2016-10-18 Thread Christian Schneider
I am using something like this in an Aries RSA test where I need a second container. https://github.com/apache/aries-rsa/blob/master/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/TwoContainerPaxExam.java ExamSystem testSystem = PaxExamRuntime.createTestSystem(remoteConfig());

Adapt PAX-Exam as an OSGI runner?

2016-10-18 Thread Nick Baker
Hey All, I've come to enjoy writing integration tests with PAX-Exam! Thanks so much! Recently I had need to standup a lightweight embedded OSGI container. I've done this with bare OSGI Framework APIs in the past and started to do so again. It struck me that it would be so nice to provision