>>>>> 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.
Should I create a Jira issue first? Eg. "Pax exam karaf with embedded
karaf doesn't work on windows"?
Is the self registration up and running in Jira?