commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: [all][osgi] how to deal with non-bundle dependencies?
Date Thu, 04 May 2017 14:32:02 GMT
On Thu, May 4, 2017 at 4:11 PM, Matt Sicker <boards@gmail.com> wrote:
> ...The easiest way to do this in unit tests would
> be using something like Pax Exam...

We're doing that a lot in Sling, see
https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/org.apache.sling.commons.messaging.mail
for a simple example.

The trick is loading the bundle that you're building in the same Maven
module, in that example we use the bundle.filename system property for
that.

-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message