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"

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.

--
Regards,
Igor

On 2014-05-27, 7:25, Steinar Bang wrote:
Igor Fedorenko <igor@xxxxxxxxxxxxxx>:

The test bundle needs to Require-Bundle the bundle that provides
no.priv.bang.modeler.core.gef.editor.Editor, which I believe is
modeler.core.

Ok, thanks!

I haven't had any luck adding this dependency yet.

The manifest editor in eclipse refused to add a dependency to
model.core.

When I added modeler.core manually to Require-Bundle, I got a warning on
the line, saying:
  The 'modeler.core' dependency is not necessary as it is already specified in Fragment-Host header	MANIFEST.MF	/modeler.test/META-INF	line 12	Plug-in Problem

Here is the Fragment-Host header:
  Fragment-Host: modeler.core;bundle-version="1.0.0"

The "mvn install" and "mvn clean install" commands still got the test
error with modeler.core added manually to Require-Bundle.

This is how I manually added modeler.core to MANIFEST.MF:

  Require-Bundle: org.eclipse.jdt.junit4.runtime;bundle-version="1.1.0",
   org.junit;bundle-version="4.10.0",
   org.eclipse.ui.editors;bundle-version="3.8.0",
   modeler.core


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top