| Summary: | Determine impact of launcher changes to build/export | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Andrew Niefer <aniefer> |
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dj.houghton, jeffmcaffer, kim.moir, pascal, sonia_dimitrov, wayne |
| Version: | 3.3 | ||
| Target Milestone: | 3.3 M5 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Andrew Niefer
On 2) the main impact for the platform builds is in the launch and running of the JUnit test suites. The changes to scripts are not extensive and can be tested within a day or two (to run a build from end to end with the changes). I have experimented with starting the JUnit tests from the eclipse executable, and the only problems I have encountered so far are with running JUnit tests on the Mac. I can provide more detail on this when the Mac test machine is free. Andrew, I am assuming the new launcher will work just fine with <= 3.2 builds as well. So, for example, if we include the org.eclipse.equinox.launcher plugin/fragment into any RCP product (>= 3.0) and we give it the new launcher, it should work just fine. Correct? Any issues with using the new launcher in an old eclipse are all about the splash screen. Biggest item is that there would be no progress monitor since that is now done using SWT instead of natively. Similarily, without the changes in org.eclipse.osgi and in the workbench, there would be only very limited painting. so will pde/build provide two execution paths: one for the old story and one for the new for RCP export? We will likely need to tie the choice of launcher feature to the version of the osgi bundle. In fact, I wonder if the org.eclipse.equinox.launcher bundle should have a Require-Bundle dependency on org.eclipse.osgi. If they are exporting to an older eclipse, and the old org.eclipse.platform.launcher feature is not available, then we could take the launchers from the running eclipse but should probably have a warning. I think we are done here. For the cross-platform export, we now first look for and include the org.eclipse.equinox.executable feature. If not found, we look for the org.eclipse.platform.launchers feature. In all cases, if the product does not list the org.eclipse.equinox launcher and its fragment(s), we implicitly add them. this way, all existing product files continue to work as-is, and it is analogous to how we have always bundled startup.jar for products. |