| Summary: | Add junit 4.13 | ||
|---|---|---|---|
| Product: | [Tools] Orbit | Reporter: | Matthias Sohn <matthias.sohn> |
| Component: | bundles | Assignee: | Orbit Bundles <orbit.bundles-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | thatnitind |
| Version: | unspecified | ||
| Target Milestone: | 2020-03 M2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| See Also: |
https://git.eclipse.org/r/156053 https://git.eclipse.org/r/156220 https://git.eclipse.org/c/orbit/orbit-recipes.git/commit/?id=3c9aab0bfa84d44bcd4f73297d13b9538ed615fc https://git.eclipse.org/r/156400 https://bugs.eclipse.org/bugs/show_bug.cgi?id=558857 https://git.eclipse.org/c/orbit/orbit-recipes.git/commit/?id=8a4df85dede958744c8084ed571c77e7a99bb875 https://git.eclipse.org/r/156713 https://git.eclipse.org/c/orbit/orbit-recipes.git/commit/?id=76399b34d900a34dbabbc50ecf601c85b80d2a27 https://git.eclipse.org/r/157146 https://git.eclipse.org/c/orbit/orbit-recipes.git/commit/?id=1c69bc41f065c1eacafa7cf6d33166a5d437a8d3 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 558857 | ||
|
Description
Matthias Sohn
New Gerrit change created: https://git.eclipse.org/r/156053 New Gerrit change created: https://git.eclipse.org/r/156220 Gerrit change https://git.eclipse.org/r/156053 was merged to [master]. Commit: http://git.eclipse.org/c/orbit/orbit-recipes.git/commit/?id=3c9aab0bfa84d44bcd4f73297d13b9538ed615fc I think this might have caused the webtools.sourceediting builds to start failing with: Error Message org/hamcrest/SelfDescribing Stacktrace java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing Caused by: java.lang.ClassNotFoundException: org.hamcrest.SelfDescribing cannot be found by org.junit_4.13.0.v20200120-1926 (8 others as well at https://ci.eclipse.org/webtools/job/webtools-sourceediting_master/lastCompletedBuild/testReport/) org.junit 4.12's manifest required and reexported the org.hamcrest.core bundle while the new recipe imports its packages as optional, and doesn't reexport them. What's confusing is that the same error message keeps occurring even though my test bundle now explicitly requires org.hamcrest.core itself. New Gerrit change created: https://git.eclipse.org/r/156400 (In reply to Nitin Dahyabhai from comment #4) > I think this might have caused the webtools.sourceediting builds to start > failing with: > > Error Message > org/hamcrest/SelfDescribing > Stacktrace > java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing > Caused by: java.lang.ClassNotFoundException: org.hamcrest.SelfDescribing > cannot be found by org.junit_4.13.0.v20200120-1926 > > (8 others as well at > https://ci.eclipse.org/webtools/job/webtools-sourceediting_master/ > lastCompletedBuild/testReport/) > > org.junit 4.12's manifest required and reexported the org.hamcrest.core > bundle while the new recipe imports its packages as optional, and doesn't > reexport them. What's confusing is that the same error message keeps > occurring even though my test bundle now explicitly requires > org.hamcrest.core itself. please review https://git.eclipse.org/r/#/c/156400/ (In reply to Matthias Sohn from comment #6) > (In reply to Nitin Dahyabhai from comment #4) > > I think this might have caused the webtools.sourceediting builds to start > > failing with: > > > > Error Message > > org/hamcrest/SelfDescribing > > Stacktrace > > java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing > > Caused by: java.lang.ClassNotFoundException: org.hamcrest.SelfDescribing > > cannot be found by org.junit_4.13.0.v20200120-1926 > > > > (8 others as well at > > https://ci.eclipse.org/webtools/job/webtools-sourceediting_master/ > > lastCompletedBuild/testReport/) > > > > org.junit 4.12's manifest required and reexported the org.hamcrest.core > > bundle while the new recipe imports its packages as optional, and doesn't > > reexport them. What's confusing is that the same error message keeps > > occurring even though my test bundle now explicitly requires > > org.hamcrest.core itself. > > please review https://git.eclipse.org/r/#/c/156400/ updated https://git.eclipse.org/r/#/c/156400/ to use Require-Bundle and reexport hamcrest.core 1.3 Gerrit change https://git.eclipse.org/r/156400 was merged to [master]. Commit: http://git.eclipse.org/c/orbit/orbit-recipes.git/commit/?id=8a4df85dede958744c8084ed571c77e7a99bb875 My builds are green again. Thanks, Matthias! Gerrit change https://git.eclipse.org/r/156713 was merged to [master]. Commit: http://git.eclipse.org/c/orbit/orbit-recipes.git/commit/?id=76399b34d900a34dbabbc50ecf601c85b80d2a27 New Gerrit change created: https://git.eclipse.org/r/157146 Gerrit change https://git.eclipse.org/r/157146 was merged to [master]. Commit: http://git.eclipse.org/c/orbit/orbit-recipes.git/commit/?id=1c69bc41f065c1eacafa7cf6d33166a5d437a8d3 |