>>>>> Steinar Bang <[email protected]>:

>> I googled the error message and found this pax exam issue:
>> https://ops4j1.jira.com/browse/PAXEXAM-742

>> PAXEXAM-742 is fixed in pax exam 4.7.0.

>> I am currently running pax exam 4.9.1 and karaf 4.0.9 (got the same
>> error on karaf 4.0.7).

>> Could it be that the error has reappeared in pax exam?

>> Or am doing something wrong in the setup or have something missing from
>> the setup?

> I know why: it's because I'm on windows.

> It's this test in KarafEmbeddedRunner:
>                     else {
>                         if (file.getPath().contains("/boot")) {
>                             // karaf 4.x
>                             mainBundles.add(file);
>                         } 

> My file here is has "\boot", rather than "/boot":
> C:\Users\sbang\workspaces\ws06\ukelonn\ukelonn.tests\target\exam\6086a15a-1ba8-45c4-856d-28e0e7693337\lib\boot\org.apache.karaf.diagnostic.boot-4.0.9.jar

> I will try to make a fix and create a pull request.

No need.  This is already fixed in git:
 
https://github.com/ops4j/org.ops4j.pax.exam2/commit/470aa720f314ddbd4cff4bfe39fee835b1cba598

The pax exam documentation mentions 4.9.1 as the newest
 https://ops4j1.jira.com/wiki/display/PAXEXAM4/Pax+Exam

But it looks like 4.10 has been released to maven central, and it looks
like 4.10 might contain the fix.  I will try that.

Reply via email to