IFile[] files = root.findFilesForLocation(filePath);
for (int i = 0; i < files.length; i++) {
if (files[i].getProject().equals(proj)) {
- fileName = proj.getLocation().append(files[i].getProjectRelativePath()).toOSString();
+ fileName = proj.getFullPath().append(files[i].getProjectRelativePath()).toOSString();
break;
}
}