Re: [compress] Need Help With PAX Exam Tests

2018-04-26 Thread Robert Munteanu
On Wed, 2018-04-25 at 20:32 +0200, Stefan Bodewig wrote: > On 2018-04-25, Robert Munteanu wrote: > > > It is definitely possible to use a single project with Pax-Exam. > > Take a > > look for instance at > > https://github.com/cschneider/osgi-testing-example > > This is exactly what I needed, m

Re: [compress] Need Help With PAX Exam Tests

2018-04-25 Thread Stefan Bodewig
On 2018-04-25, Robert Munteanu wrote: > It is definitely possible to use a single project with Pax-Exam. Take a > look for instance at > https://github.com/cschneider/osgi-testing-example This is exactly what I needed, many thanks! I've committed a mostly empty unit test that fails if I remov

Re: [compress] Need Help With PAX Exam Tests

2018-04-25 Thread Stefan Bodewig
On 2018-04-25, Robert Munteanu wrote: > Hi Stefan, > On Wed, 2018-04-25 at 18:41 +0200, Stefan Bodewig wrote: >> On 2018-04-24, Gary Gregory wrote: >>> You should take a look at the Log4j 2 module log4j-osgi. We do some >>> "bare >>> bones let's make sure we can load modules" tests using both Ec

Re: [compress] Need Help With PAX Exam Tests

2018-04-25 Thread Robert Munteanu
Hi Stefan, On Wed, 2018-04-25 at 18:41 +0200, Stefan Bodewig wrote: > On 2018-04-24, Gary Gregory wrote: > > > You should take a look at the Log4j 2 module log4j-osgi. We do some > > "bare > > bones let's make sure we can load modules" tests using both Eclipse > > Equinox > > and Apache Felix. >

Re: [compress] Need Help With PAX Exam Tests

2018-04-25 Thread Stefan Bodewig
On 2018-04-24, Gary Gregory wrote: > You should take a look at the Log4j 2 module log4j-osgi. We do some "bare > bones let's make sure we can load modules" tests using both Eclipse Equinox > and Apache Felix. AFAICT this also required the bundle to be built in advance - which is logical. Unfortun

Re: [compress] Need Help With PAX Exam Tests

2018-04-25 Thread Stefan Bodewig
On 2018-04-24, Oliver Heger wrote: > at work we used PaxExam to test OSGi-based applications consisting of > multiple modules. Here the (integration) tests have always been in a > separate module as they require a more complex setup. > To have only a single module, maybe it would work to run the

Re: [compress] Need Help With PAX Exam Tests

2018-04-24 Thread Oliver Heger
Hi, Am 23.04.2018 um 22:21 schrieb Stefan Bodewig: > Hi all > > I'm trying to resolve COMPRESS-443 which talks about having a regression > test that fails if we break the OSGi bundle again (has already happened > three times duing the life of Compress so far). But unfortunately I'm > getting stuc

Re: [compress] Need Help With PAX Exam Tests

2018-04-23 Thread Stefan Bodewig
On 2018-04-24, Gary Gregory wrote: > You should take a look at the Log4j 2 module log4j-osgi. We do some "bare > bones let's make sure we can load modules" tests using both Eclipse Equinox > and Apache Felix. Will do, thanks. Stefan --

Re: [compress] Need Help With PAX Exam Tests

2018-04-23 Thread Gary Gregory
You should take a look at the Log4j 2 module log4j-osgi. We do some "bare bones let's make sure we can load modules" tests using both Eclipse Equinox and Apache Felix. Gary On Mon, Apr 23, 2018 at 2:21 PM, Stefan Bodewig wrote: > Hi all > > I'm trying to resolve COMPRESS-443 which talks about h

[compress] Need Help With PAX Exam Tests

2018-04-23 Thread Stefan Bodewig
Hi all I'm trying to resolve COMPRESS-443 which talks about having a regression test that fails if we break the OSGi bundle again (has already happened three times duing the life of Compress so far). But unfortunately I'm getting stuck with my limited Maven and even more limited PAX Exam Fu. You