Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331086

Summary: URI and IPath inconsistent in IIncludeReference
Product: [Tools] CDT Reporter: Lukas Felber <l.felber>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: minor    
Priority: P3    
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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();