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

Bug 48686

Summary: [RCP] Checking the metadata version
Product: [Eclipse Project] Platform Reporter: Pascal Rapicault <pascal>
Component: UIAssignee: Andrew Eidsness <eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dj.houghton, jeffmcaffer, jverhaeg, n.a.edgar
Version: 3.0   
Target Milestone: 3.0 M8   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on: 32147    
Bug Blocks:    

Description Pascal Rapicault CLA 2003-12-12 18:45:48 EST
In bug #43024 the writing of the metadata as been fixed, however as Rafael 
mentionned, the check on startup needs to be done.

In eclipse 2.1 the check was done in the internalBootLoader and the user was 
queried by a UI to know whether or not he wanted to continue the startup.

Because of the new organisation we may push this up to the UI plugins or decide 
to have a separate bundle running in startlevel 3 or 5.
Comment 1 Jeff McAffer CLA 2004-01-23 11:38:48 EST
Moving to the UI.  The runtime now allows for people to set the instance data 
location (aka workspace) after startup.  The model is for the UI to prompt the 
user (or otherwise determine the location) and then check the version in the 
given location.

It is unclear if this checking should be something defined/supplied by the 
runtime or by the entity locking the instance area (i.e., caring about the 
format).  The sturcture of the metadata in the instance location is defined by 
the runtime but everything else is defined by the plugins which write data or 
use the metadata area.
Comment 2 Rafael Chaves CLA 2004-02-20 15:41:29 EST
*** Bug 52693 has been marked as a duplicate of this bug. ***
Comment 3 Nick Edgar CLA 2004-02-26 14:56:20 EST
Andrew, while looking at the workspace prompt, could you also look at this 
one.  Basically we'd like to get rid of the org.eclipse.ui.versioncheck plugin 
and do it all in the IDEApplication.
In 2.1, the actual comparison of the version number was done by the runtime (or 
boot), but this would have to be done by us.

Jeff and DJ, we should revisit the semantics of this.

Comment 4 Andrew Eidsness CLA 2004-03-05 15:20:49 EST
I've attached a patch to bug#32147 that adds a workspace dialog during startup.  
Part of the workspace selection process is for the ide to confirm the version 
(and prompt the user to see if they want to continue).

This bug isn't a duplicate of 32147, but it will be fixed when that patch is 
committed, so I'm marking this as dependent on that.
Comment 5 Nick Edgar CLA 2004-03-15 11:46:32 EST
Patch released as part of the patch for bug 32147.