Add relative path, instead of absolute, in package when adding files
Original Reporter info from Mantis: luizamerico
-
Reporter name: Luiz Americo
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)