projecttemplates doesn't use the template.lpi file for a new project
Original Reporter info from Mantis: RolfW @Rolf_Wetjen
-
Reporter name: Rolf Wetjen
Original Reporter info from Mantis: RolfW @Rolf_Wetjen
- Reporter name: Rolf Wetjen
Description:
My template has a customized file project1.lpi. Projecttemplates copies this file to the ProjDir (and all other files of course) but overwrites the lpi file with some defaults later. function TTemplateProjectDescriptor.InitProject in idetemplateproject.pp sets some defaults for AProject but doesn't take care of the settings from the existing lpi file (the template's one). So the template's lpi file is overwritten with the defaults set here.
My project.ini:
[Variables]
ProjDir=D:\Rolf\Lazarus\Rolf\Test<br/>
ProjName=project1
[Project]
Name=Test Anwendung
Author=Rolf Wetjen
Description=Eine Anwendung zum Testen
ProjectFile=project1
Recurse=0
Rolf
Mantis conversion info:
- Mantis ID: 38244
- OS: Windows 10
- Platform: x64
- Version: 2.0.10
- Fixed in revision: r64307 (#3f43cd26)