I don't use Karaf, and I don't fully understand your question.

Is Helper a Karaf class which produces Pax Exam options?

Some options have been moved around to other classes and packages between Pax Exam 1 and 2, so if Helper was compiled against Pax Exam 1, it probably won't work with Pax Exam 2.

Best regards,
Harald

Am 27.08.2011 13:48, schrieb Samuel Cox:
Hi,

I've been trying to get Fuse testing working with Pax Exam1.  I
encountered a but has a pax exam fix version of 2.0.0.  Consequently,
I decided it's a good time to switch:)

Anyhow, I'm wondering if it's possible to use the Karaf tooling stuff
with Pax Exam 2.  I found https://github.com/tonit/karafonexam2, but
the pom's look like it still points to pax exam 1.2.4.

This is what I use in my pax exam 1 based test:

String configUrl = "file://" + classesDir + "etc/config.properties";
...
   combine(
                      Helper.getDefaultConfigOptions(
                              Helper.getDefaultSystemOptions(homeDir)
                              , new URL(configUrl)
                          )
                      , Helper.getDefaultProvisioningOptions()
                  )

Thanks.

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general



_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to