Hi Martin, have a look at the org.ops4j.pax.exam.junit.ProbeBuilder annotation. Annotate a method in your junit-test class. You're passed a org.ops4j.pax.exam.TestProbeBuilder instance that allows you to tweak the probe bundle:
@ProbeBuilder public TestProbeBuilder build(TestProbeBuilder builder) { builder.setHeader(Constants.BUNDLE_ACTIVATOR, Activator.class.getName()); return builder; } Best, Timo On 05.11.2012, at 21:40, Martin Lichtin <lich...@yahoo.com<mailto:lich...@yahoo.com>> wrote: Hi, how do I add a header to the manifest of the probe bundle? I'm looking at http://team.ops4j.org/wiki/display/paxexam/ExamAndTinybundles where I see an example. But the code seems old and I cannot find a suitable method for "modifyBundle". Do I have to instead use bundle().read(testProbe) ? Martin _______________________________________________ general mailing list general@lists.ops4j.org<mailto:general@lists.ops4j.org> http://lists.ops4j.org/mailman/listinfo/general
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general