aesteve / nubes

Annotation layer on top of Vert.x 3
Apache License 2.0
120 stars 35 forks source link

Error loading jaxb.index #36

Closed ldallen closed 9 years ago

ldallen commented 9 years ago

Hi !

I don't know if it's just with my computer, but when I try to start the nubes tests, I got some error like this : "mock.domains" doesnt contain ObjectFactory.class or jaxb.index If I comment the line which loads the domain package, I can run the tests (90/94 passed). Is it an issue or just intelliJ ?

aesteve commented 9 years ago

I'll take a look this evening. It must be IntelliJ related.

Tests are running fine with both Eclipse JUnit Runner and gradlew.

Not sure I'll keep the jaxb.index stuff, too, I'll probably just scan the domain-package property value and inject every class found in the JAXBContext, that would solve the problem and people using XMLMarshaller wouldn't need to define a jaxb.index.

I have to figure that out.

aesteve commented 9 years ago

I removed jaxb.index and scan the domain package manually instead. You should be able to launch unit tests now.