Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 107738

Summary: [startup] Investigate if the startup.jar can be delivered as a plugin
Product: [Eclipse Project] Equinox Reporter: Pascal Rapicault <pascal>
Component: FrameworkAssignee: 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 CLA 2005-08-23 11:19:56 EDT
One of the problem with updating and allowing reversion of eclipse comes from
the fact that the startup.jar is not versionned.
We need to investigate what it means to deliver it as a plugin and use it from here.
Comment 1 Jeff McAffer CLA 2005-08-26 05:55:15 EDT
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.
Comment 2 Pascal Rapicault CLA 2006-03-23 10:43:49 EST
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.
Comment 3 Jeff McAffer CLA 2006-04-04 21:48:30 EDT
I like door #1 (at least initially) but in any event, it seems to be too late for 3.2.
Comment 4 Alex Blewitt CLA 2007-01-05 19:15:00 EST
Is there any plans for this on 3.3? The version still says 3.2 here.
Comment 5 Pascal Rapicault CLA 2007-01-06 06:28:26 EST
Andrew fixed this bug as part of the launcher rework.