Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Resolved bundle as missing constraint

It seems the issue with the org.eclipse.fx.osgi bundle is that it is a fragment (as an aside, it would be nice if the debug output would tell the user that part of the target platform is being excluded and why I had to step through tycho's execution to determine it). The test bundle doesn't actually need to require the fx bundle, that was an an attempt on my part to try to force it into the running state.

Adding the bundle via tycho-surefire -> configuration -> dependency and even adding the same definition as a frameworkextension in the config while the fx plugin shows up as resolved in the osgi console I still have in the logs:

!ENTRY org.eclipse.osgi 4 0 2016-09-30 23:26:26.950
!MESSAGE Bundle org.eclipse.fx.osgi not found.

Anyone have any ideas on how this needs to be added?



On 30 September 2016 at 15:39, Matthew Piggott <mpiggott@xxxxxxxxxxxx> wrote:

I'm running into an issue (using 0.24.0) where a bundle that seems to be resolved in the target platform is missing when running surefire tests. Excerpt from logs:

RESOLVED org.eclipse.fx.osgi_0.9.0.201401250701 : ~\.m2\repository\p2\osgi\bundle\org.eclipse.fx.osgi\\org.eclipse.fx.osgi-
NOT RESOLVED xxxxx.test_2.10.2.qualifier : yyy\xxxxx.test
    Missing Constraint: Require-Bundle: org.eclipse.fx.osgi; bundle-version="0.0.0"

[ERROR] Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle xxxxx.test cannot be resolved
[ERROR] Resolution errors:
[ERROR] Bundle xxxxx.test - Missing Constraint: Require-Bundle: org.eclipse.fx.osgi; bundle-version="0.0.0"

Any ideas on what might cause this scenario?



Back to the top