EDIT (Julien Carsique): Since the move from nuxeo-distribution-tools to ant-assembly-maven-plugin, the SDK is missing the list of test JARs.
In Eclipse, I changed the SDK:
- Download nuxeo-cap-5.9.2-I20140218_0120-tomcat-sdk
(unzip it) from http://community.nuxeo.com/static/snapshots/
- Eclipse -> Preferences -> Nuxeo -> Nuxeo SDK -> Add (this SDK)
- Check the box of tis sdk so it is used
- Save
Then, all my projects which have unit test code are showing errors.
The errors are the same in all the projects using annotation for testing. So for example, when I have...
@RunWith(FeaturesRunner.class)
...the error is:
Multiple markers at this line * FeaturesRunner cannot be resolved to a type * Class<FeaturesRunner> cannot be resolved to a type
And with...
@Features({PlatformFeature.class})
...I have:
Multiple markers at this line * Features cannot be resolved to a type * The attribute value is undefined for the annotation type Features * PlatformFeature cannot be resolved to a type
If I move back to nuxeo-cap-5.9.1-I20131218_0120-tomcat-sdk, all is fine.
nuxeo-cap-5.9.2-I20140218_0120-tomcat-sdk/sdk/tests contains only junit-4.8.1.jar and log4j-1.2.17.jar