Project

General

Profile

Feature #4104

allow mapping of absolute paths to project relative paths

Added by Greg Shah about 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
version_reported:
version_resolved:

History

#1 Updated by Greg Shah about 5 years ago

Although it is a poor development choice, some customer projects have hard coded absolute paths in their application. For conversion, this primarily affects include files.

The runtime already has a mechanism to map absolute paths to relative paths, though it is currently designed to only support cases where Windows paths must be mapped to Linux or vice versa. That is probably not enough, even for runtime, since there may be cases where absolute paths need to be mapped to a relative path on the same OS. See #3565 for details.

This current task is meant to implement a conversion facility that handles this mapping. We should ensure that it does not care about the OS, but handles any kind of absolute to relative mapping.

Also available in: Atom PDF