Bug 14344 - Registry not reloaded when feature is installed
Summary: Registry not reloaded when feature is installed
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Debbie Wilson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 14346 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-22 14:20 EDT by Christophe Elek CLA
Modified: 2002-04-22 16:12 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Elek CLA 2002-04-22 14:20:02 EDT
Nightly 20020422
Install RedDot 1
Restart workbench
Redot1 plugin is on the platform.cfg path but the plugin registry is using the
cached one

<Trace >
Startup: platform configuration file not found
Boot URL:
    file:C:/eclipse/plugins/org.eclipse.core.boot/boot.jar
Install URL: file:C:/eclipse/
Debug-Options: file:C:/eclipse/.options
PlatformConfig: Unable to load configuration from USER.DIR
java.io.FileNotFoundException: C:\eclipse\eclipse\install\platform.cfg (The
system cannot find the path specified)
PlatformConfig: Unable to load configuration from USER.HOME
java.io.FileNotFoundException: C:\Documents and
Settings\Administrator\eclipse\install\platform.cfg (The system cannot find the
path specified)
PlatformConfig: Unable to load configuration from COMMON
java.io.FileNotFoundException: C:\eclipse\install\platform.cfg (The system
cannot find the file specified)
PlatformConfig: Creating configuration file:C:/eclipse/install/platform.cfg
PlatformConfig: No links detected in C:\eclipse\install\links
PlatformConfig: file:C:/eclipse/ located  0 feature(s) in 0ms
PlatformConfig: file:C:/eclipse/ feature stamp: 0 [no changes]
PlatformConfig: file:C:/eclipse/ located  49 plugin(s) in 30ms
PlatformConfig: file:C:/eclipse/ plugin stamp: 1011546918640 [was 0]
PlatformConfig: computed plug-in path:
PlatformConfig:    file:C:/eclipse/plugins/org.apache.ant/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.apache.lucene/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.apache.xerces/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.ant.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.ant.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.compare/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.core.boot/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.core.resources/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.core.runtime/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.core.target/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.debug.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.debug.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.help/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.help.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.help.webapp/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.debug/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.debug.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.doc.isv/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.doc.user/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.junit/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.launching/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.build/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.doc.user/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.junit/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.runtime/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.platform.doc.isv/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.platform.doc.user/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.sdk/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.search/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.swt/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.team.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.team.cvs.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.team.cvs.ssh/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.team.cvs.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.team.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.test/fragment.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.tomcat/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.update.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.update.tests.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.update.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.update.ui.forms/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.webdav/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.junit/plugin.xml
RegistryCacheReader: Cache header information out of date - ignoring cache
Read registry cache: 10ms
RegistryLoader: Path - file:C:/eclipse/plugins/org.apache.ant/plugin.xml [+10ms]
RegistryLoader: Processed -  [+310ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.apache.lucene/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.apache.xerces/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.ant.core/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+20ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.ant.ui/plugin.xml [+0ms]
RegistryLoader: Processed -  [+30ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.compare/plugin.xml [+0ms]
RegistryLoader: Processed -  [+30ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.core.boot/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.core.resources/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.core.runtime/plugin.xml [+0ms]
RegistryLoader: Processed -  [+20ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.core.target/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.debug.core/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.debug.ui/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+81ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.help/plugin.xml [+0ms]
RegistryLoader: Processed -  [+60ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.help.ui/plugin.xml [+0ms]
RegistryLoader: Processed -  [+20ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.help.webapp/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.jdt.core/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.jdt.debug/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+20ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.jdt.debug.ui/plugin.xml [+0ms]
RegistryLoader: Processed -  [+60ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.jdt.doc.isv/plugin.xml [+0ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.jdt.doc.user/plugin.xml [+10ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.jdt.junit/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+20ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.jdt.launching/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.jdt.ui/plugin.xml [+0ms]
RegistryLoader: Processed -  [+40ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.pde/plugin.xml [+0ms]
RegistryLoader: Processed -  [+30ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.pde.build/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+20ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.pde.core/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.pde.doc.user/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.pde.junit/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+70ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.pde.runtime/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.pde.ui/plugin.xml [+0ms]
RegistryLoader: Processed -  [+20ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.platform.doc.isv/plugin.xml [+0ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.platform.doc.user/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.sdk/plugin.xml [+0ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.search/plugin.xml [+0ms]
RegistryLoader: Processed -  [+30ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.swt/plugin.xml [+0ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.team.core/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.team.cvs.core/plugin.xml [+0ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.team.cvs.ssh/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.team.cvs.ui/plugin.xml [+0ms]
RegistryLoader: Processed -  [+30ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.team.ui/plugin.xml [+0ms]
RegistryLoader: Processed -  [+20ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.test/fragment.xml [+0ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.tomcat/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.ui/plugin.xml [+0ms]
RegistryLoader: Processed -  [+30ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.update.core/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.update.tests.core/plugin.xml [+0ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.update.ui/plugin.xml
[+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path -
file:C:/eclipse/plugins/org.eclipse.update.ui.forms/plugin.xml [+0ms]
RegistryLoader: Processed -  [+10ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.eclipse.webdav/plugin.xml [+0ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path - file:C:/eclipse/plugins/org.junit/plugin.xml [+0ms]
RegistryLoader: Processed -  [+0ms]
RegistryLoader: Path -
file:C:/eclipse/workspace/.metadata/.plugins/org.eclipse.scripting/plugin.xml [+0ms]
RegistryLoader: No plugin found for:
file:C:/eclipse/workspace/.metadata/.plugins/org.eclipse.scripting/plugin.xml [+0ms]
RegistryLoader: Processed (not found) -
file:C:/eclipse/workspace/.metadata/.plugins/org.eclipse.scripting/plugin.xml [+0ms]
RegistryLoader: Parsed Registry: 1161ms [+0ms]
Parse and resolve registry: 1272ms
PlatformConfig: file:C:/eclipse/ located  0 feature(s) in 0ms
PlatformConfig: file:C:/eclipse/ feature stamp: 0 [no changes]
PlatformConfig: file:C:/eclipse/ located  49 plugin(s) in 20ms
PlatformConfig: file:C:/eclipse/ plugin stamp: 1011546918640 [no changes]
Startup complete: 6950ms
PlatformConfig: file:C:/eclipse/ located  1 feature(s) in 0ms
PlatformConfig: file:C:/eclipse/ feature stamp: 1018446181816 [was 0]
PlatformConfig: file:C:/eclipse/ located  50 plugin(s) in 20ms
PlatformConfig: file:C:/eclipse/ plugin stamp: 29103038634 [was 1011546918640]
Plug-in registry debug information created in file \registry.xtf.
Wrote registry: 271ms
Startup: using configuration file:/C:/eclipse/install/platform.cfg
Boot URL:
    file:C:/eclipse/plugins/org.eclipse.core.boot/boot.jar
Install URL: file:C:/eclipse/
Debug-Options: file:C:/eclipse/.options
PlatformConfig: Using configuration file:/C:/eclipse/install/platform.cfg
PlatformConfig: No links detected in C:\eclipse\install\links
PlatformConfig: file:C:/eclipse/ located  1 feature(s) in 0ms
PlatformConfig: file:C:/eclipse/ feature stamp: 1018446181816 [no changes]
PlatformConfig: file:C:/eclipse/ located  50 plugin(s) in 20ms
PlatformConfig: file:C:/eclipse/ plugin stamp: 29103038634 [no changes]
PlatformConfig: computed plug-in path:
PlatformConfig:    file:C:/eclipse/plugins/com.reddot.reddot_1.0.0/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.apache.ant/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.apache.lucene/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.apache.xerces/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.ant.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.ant.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.compare/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.core.boot/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.core.resources/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.core.runtime/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.core.target/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.debug.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.debug.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.help/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.help.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.help.webapp/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.debug/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.debug.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.doc.isv/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.doc.user/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.junit/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.launching/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.jdt.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.build/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.doc.user/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.junit/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.runtime/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.pde.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.platform.doc.isv/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.platform.doc.user/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.sdk/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.search/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.swt/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.team.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.team.cvs.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.team.cvs.ssh/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.team.cvs.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.team.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.test/fragment.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.tomcat/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.update.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.update.tests.core/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.update.ui/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.update.ui.forms/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.eclipse.webdav/plugin.xml
PlatformConfig:    file:C:/eclipse/plugins/org.junit/plugin.xml
Read registry cache: 200ms
Startup complete: 6669ms
Comment 1 Vlad Klicnik CLA 2002-04-22 14:34:59 EDT
The timestamp used for cache decisions should be taken on startup. This is the 
point that reflects the content of the loaded registry. 
Comment 2 Debbie Wilson CLA 2002-04-22 16:06:31 EDT
*** Bug 14346 has been marked as a duplicate of this bug. ***
Comment 3 Debbie Wilson CLA 2002-04-22 16:12:25 EDT
InternalPlatform now has a new private variable, cacheReadTimeStamp plus new 
methods getRegistryCacheTimeStamp() and setRegistryCacheTimeStamp(long 
timeStamp) to store information on when the plugin registry was either read 
from a cache file or parsed.
RegistryCacheWriter will write out InternalPlatform's new timestamp (so 
anything changed since the last time we read/parsed the registry will cause the 
cache to be discarded).
RegistryCacheReader reads in a timestamp and compares it with the 
InternalPlatform stamp (which is refreshed from 
BootLoader.getCurrentPlatformConfiguration().getPluginsChangeStamp()).  If 
anything has changed since the last read/parse, the cache is discarded.