1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

bug 345750: convert relative paths to absolute also for those that don't

exist
This commit is contained in:
Andrew Gvozdev 2011-08-18 12:16:59 -04:00
parent d5d717128b
commit fa5965cef0

View file

@ -422,6 +422,10 @@ public class CCommandDSC {
IPath ppath = new Path(path);
if (project != null && !ppath.isAbsolute()) {
IResource res = project.findMember(ppath);
if (res == null) {
// To calculate path only; this does not create any file
res = project.getFile(path);
}
if (res != null) {
ppath = res.getLocation();
if (ppath != null) {