Bill Meyer 337 Posted August 5, 2022 (edited) Given a project located at, for example: D:\MyProj\ShinyNewTool.dproj And a collection of shared modules in: D:\SharedCode\ When I add a module from the SharedCode folder to my project, the path given in DPR and DPROJ is: D:\SharedCode\FileUtils.pas instead of D:\..\SharedCode\FileUtils.pas In Tokyo or later, is there a way to prevent the path from being absolute? The only thing I have found is to relocate thus: D:\Projects\MyProj\ShinyNewTool.dproj D:\Projects\SharedCode\ Then the paths will be relative, as long as no module is on a different drive. This becomes an issue because on our build machine, the folder paths must be relative, as they will not be root based. Edited August 5, 2022 by Bill Meyer Share this post Link to post
Lajos Juhász 293 Posted August 5, 2022 The relative path should be ..\SharedCode\FileUtils.pas. I opened a dpr and dproj for an application and there the paths are relative. Share this post Link to post
Bill Meyer 337 Posted August 5, 2022 21 minutes ago, Lajos Juhász said: The relative path should be ..\SharedCode\FileUtils.pas. I opened a dpr and dproj for an application and there the paths are relative. Thanks, had my mind stuck in the actual app environment, where there was another folder level before reaching the source. Share this post Link to post