Bug 102860

Summary: Use relative pathnames in savedIndexNames.txt
Product: [Eclipse Project] JDT Reporter: Keith W. Campbell <keithc>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.1   
Target Milestone: 3.3 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Keith W. Campbell CLA 2005-07-06 10:39:53 EDT
As far as I can tell
  <workspace>/.metadata/.plugins/org/eclipse.jdt.core/savedIndexNames.txt
is the only place where the absolute pathname of the workspace is stored
in metadata. Using relative pathnames (i.e. just the simple filenames)
would be sufficient because all the files are in the same directory.
This would reduce the disk space required to store the information;
it would reduce the IO required save/restore the data; and it might
reduce the in memory size of data structures relating to the index.
Comment 1 Jerome Lanneluc CLA 2005-08-10 09:19:58 EDT
Kent can you please comment ?
Comment 2 Kent Johnson CLA 2007-01-31 11:35:29 EST
This was done as part of the changes to bug 138309
Comment 3 Olivier Thomann CLA 2007-02-05 11:13:43 EST
Verified for 3.3M5 using I20070205-0009.
The index version however has a full path.:
INDEX VERSION 1.120+D:\eclipse\workspaces\testM5\.metadata\.plugins\org.eclipse.jdt.core