Bug 102860 - Use relative pathnames in savedIndexNames.txt
Summary: Use relative pathnames in savedIndexNames.txt
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.3 M5   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-06 10:39 EDT by Keith W. Campbell CLA
Modified: 2007-02-05 11:13 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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