Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311418 - [search] canonicalizedPath() method in JavaProject produces wrong path on Linux
Summary: [search] canonicalizedPath() method in JavaProject produces wrong path on Linux
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC1   Edit
Assignee: Chris Jaun CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 15:02 EDT by Chris Jaun CLA
Modified: 2010-05-04 10:04 EDT (History)
0 users

See Also:
thatnitind: review+


Attachments
patch (885 bytes, patch)
2010-05-03 15:09 EDT, Chris Jaun CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jaun CLA 2010-05-03 15:02:45 EDT
The canonicalizedPath() method in JavaProject returns the "externalPath" attribute if the IS_CASE_SENSITIVE flag is set to true, which seems to be happening on linux.

This sometimes results in a trailing slash being left on the path string, which screws up values in the index later end causing search to fail.
Comment 1 Chris Jaun CLA 2010-05-03 15:09:21 EDT
Created attachment 166851 [details]
patch
Comment 2 Chris Jaun CLA 2010-05-04 10:04:42 EDT
Patch checked in.