| Summary: | CBI SWT build delivers strange artifacts | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Andrey Loskutov <loskutov> | ||||||
| Component: | SWT | Assignee: | Silenio Quarti <Silenio_Quarti> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | blocker | ||||||||
| Priority: | P3 | CC: | andrea.ross, gheorghe, krzysztof.daniel, pwebster, Silenio_Quarti, thanh.ha | ||||||
| Version: | 4.2.1 | ||||||||
| Target Milestone: | 4.2.2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 372792, 377115 | ||||||||
| Attachments: |
|
||||||||
|
Description
Andrey Loskutov
thanks for this report. I'll look into this. Created attachment 218917 [details]
Fix for bundle size
The org.eclipse.swt is just a pure shell, and it should not include classes nor other binaries. Fortunately, this can be easily fixed :-)
In the latest build, I still see this problem: -rw-rw-r--. 1 pwebster eclipseUI 7523469 Sep 20 22:35 org.eclipse.swt_3.100.1.v20120912-1609.jar -rw-rw-r--. 1 pwebster eclipseUI 517843 Sep 20 22:35 org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20120912-1823.jar In this state, my eclipse can't load SWT !ENTRY org.eclipse.equinox.ds 4 0 2012-09-21 07:24:47.506 !MESSAGE [SCR] Exception while activating instance org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngineManager@685bb81a of component org.eclipse.e4.ui.css.swt.theme !STACK 0 java.lang.NoClassDefFoundError: org.eclipse.swt.widgets.Display PW (In reply to comment #2) > Created attachment 218917 [details] > Fix for bundle size I applied the fix and re-ran the build. the bundle looks much better, but the CBI version is missing the plugin.properties file and the PDE version contains it. PW Created attachment 222728 [details]
Fix a typo in Krzysztof's patch
Specify what's included in org.eclipse.swt
This is for 4.2.2 and 3.8.2 streams PW Is there any reason to include oldnotes_swt.html? It is not included in the p2 build. You're right, that doesn't need to be in there. Could you just remove that line? PW (In reply to comment #9) > You're right, that doesn't need to be in there. Could you just remove that > line? > > PW Released: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?h=R3_8_maintenance&id=5ffdcbc3c0f0601c6750d09796b94cb8c7fc8b3d http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?h=R4_2_maintenance&id=9bccf8a9b5b37fbfcbd6c936b46e58d85a94cab3 One more question: is the .api_description file included somehow? (In reply to comment #11) > One more question: is the .api_description file included somehow? Not yet, that's bug 381057 PW Closing report since SSQ pushed the change to 3.8.2/4.2.2 in comment 10. |