Hi List,
(I send this JIRA issue to the mailing list as JIRA signup is down)
We are using Pax Exam 2 (RC5) for integration testing. I run into an issue
trying to append system packages, using the system property
org.osgi.framework.system.packages.extra. I provision the system property in a
@Configuration annotated method, like this;
org.ops4j.pax.exam.CoreOptions.systemProperty("org.osgi.framework.system.packages.extra")
.value("sun.misc,com.sun.management")
In the previous Pax Exam version, this worked fine. In Pax Exam 2 however, it
seems that this system property is overruled with the value
"org.ops4j.pax.exam;version=...". Looking at the Pax Exam 2 code, this seems to
happen in org.ops4j.pax.exam.nat.internal.NativeTestContainer line 209. It
simply sets the org.osgi.framework.system.packages.extra property, ignoring any
value already set.
I did workaround the issue by using a custom FrameworkFactory, but shouldn't
the NativeTestContainer append its own packages to the existing set of packages
instead?
Regards, Ivo
GX Software | Ivo Ladage-van Doorn | Product Architect | Wijchenseweg 111 |
6538 SW Nijmegen | The Netherlands | T +31(0)24 - 388 82 61 | F +31(0)24 - 388
86 21 |
[email protected]<mailto:[email protected]> |
www.gxsoftware.com<http://www.gxsoftware.com> |
twitter.com/GXSoftware<http://twitter.com/GXSoftware>
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general