Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Plug-in test works in IDE, fails when built with "mvn install"

>>>>> Igor Fedorenko <igor@xxxxxxxxxxxxxx>:

> I didn't notice the test bundle was a fragment, sorry. I still think
> missing dependency is the reason but can't tell what dependency that is.

Indeed it was.  I opened
 modeler/modeler.test/target/work/data/.metadata/.log
and found this:
 org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: org.eclipse.ui.views.properties.IPropertySheetPage cannot be found by org.eclipse.gef_3.9.0.201308190730

I added org.eclipse.ui.views to modeler/modeler.test/META-INF/MANIFEST.MF:
 https://github.com/steinarb/modeler/blob/master/modeler.test/META-INF/MANIFEST.MF
and "mvn clean install" in the top level directory ran without any
errors.

Thanks Igor! :-)



Back to the top