Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,093
    • Issues 2,093
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #24272
Closed
Open
Created Apr 14, 2013 by FPC Admin account@fpc_adminOwner

Add relative path, instead of absolute, in package when adding files

Original Reporter info from Mantis: luizamerico
  • Reporter name: Luiz Americo

Description:

How to reproduce:

Create a new package in c:\mycomponent\package\xx.lpk

Add to the package an include or unit file that is not in the package dir e.g: c:\mycomponent\src

The IDE will ask to add the directory to include or unit search path. If response is positive it will add the absolute path instead of relative one. This breaks portability of the package.

Sample package configuration generated:

 <SearchPaths>
        <IncludeFiles Value="c:\mycomponent\src\"/>
        <OtherUnitFiles Value="c:\mycomponent\src\"/>
        <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\"/>
 </SearchPaths>

Mantis conversion info:

  • Mantis ID: 24272
  • OS: Windows
  • OS Build: XP
  • Platform: i386
  • Version: 1.1 (SVN)
  • Fixed in revision: 40803 (#e8c90c6b)
Assignee
Assign to
Time tracking