Bug 331086 - URI and IPath inconsistent in IIncludeReference
Summary: URI and IPath inconsistent in IIncludeReference
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 02:57 EST by Lukas Felber CLA
Modified: 2020-09-04 15:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Felber CLA 2010-11-25 02:57:42 EST
Build Identifier: Build id: I20100608-0911

When using the IPath and the URI both accessible through a given IIncludeReference (methods getPath() and getLocationURI())
the path is correct (e.g. '/usr/include') whereas the correlating URI (instead of pointing to the same location (expected would be 'file:///usr/include')) points to the current project folder.

Reproducible: Always

Steps to Reproduce:
ICProject proj = ...
IIncludeReference ref = proj.getIncludeReferences();
IPath path = ref.getPath();
URI uri = ref.getLocationURI();