Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Why is my JUnit Plugin tests failing with unresolved bundles errors?

I'm trying to get my JUnit Plugin-Test launcher to run for my PDE projects. It was working before, but I changed some of the names of my OSGi bundles and now it's failing with the following:

!ENTRY org.eclipse.osgi 2 0 2011-08-09 15:43:59.904
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-09 15:43:59.904
!MESSAGE Bundle me.gladwell.android.tools_0.1.1.qualifier [76] was not resolved.
!SUBENTRY 2 me.gladwell.android.tools 2 0 2011-08-09 15:43:59.904
!MESSAGE Package uses conflict: Require-Bundle: org.eclipse.persistence.moxy; bundle-version="2.1.0"
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-09 15:43:59.904
!MESSAGE Bundle me.gladwell.eclipse.m2e.android_0.3.1.qualifier [77] was not resolved.
!SUBENTRY 2 me.gladwell.eclipse.m2e.android 2 0 2011-08-09 15:43:59.905
!MESSAGE Missing required bundle me.gladwell.android.tools_0.1.1.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-09 15:43:59.905
!MESSAGE Bundle me.gladwell.eclipse.m2e.android.test_0.3.1.qualifier [78] was not resolved.
!SUBENTRY 2 me.gladwell.eclipse.m2e.android.test 2 0 2011-08-09 15:43:59.905
!MESSAGE Missing required bundle me.gladwell.eclipse.m2e.android_0.0.0.
!SUBENTRY 2 me.gladwell.eclipse.m2e.android.test 2 0 2011-08-09 15:43:59.905
!MESSAGE Missing required bundle me.gladwell.android.tools_0.0.0.

Please see full error log[1]

I'm unsure how to diagnose these messages and where/what problems they might refer to. These tests run successfully in my command line, Tycho-Maven build and the project compiles without errors in Eclipse.

I've selected "all workspace and enabled target plug-ins" option in my launcher's[2] "Launch with" select box. I've also checked the "clearing the configuration space" option on the Configuration tab of the launcher.

Any ideas why I'm getting these error messages?

[1] https://gist.github.com/1134495
[2] https://raw.github.com/rgladwell/m2e-android/master/me.gladwell.eclipse.m2e.android.test/%5Bme.gladwell.eclipse.m2e.android.test%5D%20test.launch

--
Ricardo Gladwell <ricardo.gladwell@xxxxxxxxx>
http://www.google.com/profiles/ricardo.gladwell
Twitter: @rgladwell - MSN: axonrg@xxxxxxxxx


Back to the top