OSDir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [compress] Need Help With PAX Exam Tests


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 Eclipse
>>> Equinox
>>> and Apache Felix.

>> AFAICT this also required the bundle to be built in advance - which
>> is
>> logical. Unfortunately I haven't got any idea how to achieve that
>> without using two separate Maven projects.

> 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

Many thanks, this looks promising!

bundle("reference:file:target/classes/") probably is what I was
missing. I'll give it a try later.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx