Hey Xavier,
This is a shot in the dark, but you might verify that the plugins providing the model
provider are listed as dependencies for the test plugin. My experience has shown that the
test environment only includes hard dependencies, so if you're relying on something
that has a soft link (e.g. anything contributed through an extension point), you need to
make sure the plugin making the contribution (e.g. implementing the extension point) is
included in the dependencies list for your test plugin. It probably works fine in your dev
env because Eclipse is using the entire set of plugins available (i.e. target platform +
workspace plugins).
Good luck.
Rob
----- Original Message -----
Hello,
I just got a NPE with tests running from Maven (they run fine from
PDE,
though): ' org.eclipse.jst.j2ee.model.ModelProviderManager.
ModelProviderManager.getModelProvider(project) ' returns ' null ' in the
WizardPages that I'm trying to test.
For the moment, I'll skip those tests on maven to avoid build
failures on
Jenkins, but if anyone has a clue what I should do to get them pass on
maven/Jenkins (i.e., initialise the ModelProviderManager ?), please let me
know ;-)
Thanks !
Best regards,
/Xavier
_______________________________________________
jbosstools-dev mailing list
jbosstools-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev