| Summary: | [startup] Investigate if the startup.jar can be delivered as a plugin | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Pascal Rapicault <pascal> |
| Component: | Framework | Assignee: | equinox.framework-inbox <equinox.framework-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | alex.blewitt, david_williams, ed.burnette, francois, jeffmcaffer, pombredanne, public, simon_kaegi |
| Version: | 3.2 | ||
| Target Milestone: | 3.3 M5 | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
Pascal Rapicault
certainly can be done using eclipse.ini but this is brittle. It requires the full path etc. Another option is an enhancement to eclipse.exe. Have it look for org.eclipse.core.runtime.startup_3.2.0.jar in the plugins dir. Of course, you also have to indicate where that plugins dir is. No free lunch. A couple of weeks ago, I did a little experiement to see what as involved.
There are two approaches:
1) Playing with parameters:
- move startup.jar in the plugins folder and rename it
- update the eclipse.ini to use the -startup option
- update the config.ini to indicate the install.area so osgi is searched in the right plug-in
-- This last point is problematic as we need to know the location of the install, and we may rely on the value of user.dir to find startup.jar
2) code changes
- update the exe to search in the plugins folder for startup*.jar and pick the highest one
- update startup.jar to setup the install location to be one folder down from where it is.
In any case we would also need to change PDE.
I like door #1 (at least initially) but in any event, it seems to be too late for 3.2. Is there any plans for this on 3.3? The version still says 3.2 here. Andrew fixed this bug as part of the launcher rework. |