Community
Participate
Working Groups
Build Identifier: 0.13.0-SNAPSHOT When switching my previously working build to tycho 0.13.0-SNAPSHOT from 0.12.0 the build now fails with the error "BundlesAction produced more than one IU". These seems to be related to using SWTBot in my test plugin. Adding a Require-Bundle on "org.eclipse.swtbot.eclipse.ui" triggers the error. Removing it causes the build to pass. Reproducible: Always Steps to Reproduce: 1. Created a eclipse-test-plugin project with dep on org.eclipse.swtbot.eclipse.ui 2. Run mvn integration-test 3. Failure
Created attachment 198349 [details] Exception stack trace
Created attachment 198350 [details] Sample project Sample project. Run "mvn integration-test" to trigger issue
> These seems to be related to using SWTBot in my test plugin. It is not related to SWTBot - I am experiencing the same problem with some simple Plugin tests and no SWTBot being involved.
This problem is fixed with 7602b38. The problem was that the BundlesAction was called for all p2 dependencies when resolving the test runtime. I am glad that I added the "more than one IU" assertion, because in this way we discovered this issue. Nevertheless I think it is not entirely correct - and hence shall be removed eventually. @Simon: Thanks for the good bug report :-)