Bug 2787 - EC - refresh local on startup (1GJIDLU)
Summary: EC - refresh local on startup (1GJIDLU)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:43 EDT by Jeff McAffer CLA
Modified: 2002-05-16 10:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff McAffer CLA 2001-10-10 22:43:34 EDT
The following is from EC but has been raised by others.
The general idea seems sound.  This is a PR in the desktop
since the desktop is in the right position to know when the platform is up and 
a 
refresh can be done.  If the resources plugin were to do this, it could cause a 
build
and then we could end up with UI plugins being activated before the UI is 
actually 
up and ready to go.  Basically this is a check and refreshLocal before entering 
the
read/eval loop in the UI.

----------------------- EC post

For those of us using external CM tools please add a preference entry to
refresh from local on startup.  The CM system replaces/adds files to the
file system and I wuld like to know that when I open WSW it is current not
holding on to old metadata and as a result generating compile errors that
are not in the real source files.

Even better would be to notice when file
modification times change from what you have in your metadata and prompt the
user to allow a refresh at that time.

I presume these was not done to improve boot time, but I would rather have
boot take an extra 30-60 seconds and get the correct results.  After all,
machines keep getting faster and someone can always turn off the option.


NOTES:
Comment 1 Kevin Haaland CLA 2002-02-01 13:35:49 EST
As a command line argument that Core would support for all applications? The UI 
part of this feature request is possible. 

We should consider carefully when this method should be called. An inconsistent 
view of the resources is a source of problems for the user interface. 
Comment 2 DJ Houghton CLA 2002-02-01 14:06:54 EST
A command-line option (-refresh) already exists. This causes a refreshLocal to 
be done on the WorkspaceRoot at startup.
Comment 3 Nick Edgar CLA 2002-04-25 11:21:03 EDT
Need to add preference.
Comment 4 Nick Edgar CLA 2002-05-16 10:58:37 EDT
Dup.  Pref added in 20020515.