mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 00:45:28 +02:00
Keep workspace relative paths as absolute as before: ${workspace_loc:/proj/...} instead of ${workspace_loc:proj/...}
This commit is contained in:
parent
1ae62f2a77
commit
a44d15b73d
1 changed files with 2 additions and 2 deletions
|
@ -273,10 +273,10 @@ public class FileListControl {
|
|||
resource = (IResource) o;
|
||||
if (resource.getProject().equals(project))
|
||||
values[i++] = variableManager.generateVariableExpression(WORKSPACELOC_VAR,
|
||||
PROJECTNAME_PATH.append(resource.getProjectRelativePath()).toString());
|
||||
PROJECTNAME_PATH.append(resource.getProjectRelativePath()).makeAbsolute().toString());
|
||||
else
|
||||
values[i++] = variableManager.generateVariableExpression(WORKSPACELOC_VAR,
|
||||
resource.getFullPath().makeRelative().toString());
|
||||
resource.getFullPath().toString());
|
||||
}
|
||||
// If only one entry, update the text field
|
||||
if (values.length == 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue