View Issue Details

IDProjectCategoryView StatusLast Update
0035833LazarusPackagespublic2019-07-12 01:49
ReporterFrancis SilvaAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformWindowsOSWindowsOS VersionWindows 10 x64
Product Version2.0.2Product Build 
Target VersionFixed in Version 
Summary0035833: "Recurse" not working on project templates
DescriptionThis feature should be very little used, I am now starting with Lazarus and created a template for a server, and the ProjTemplates component is not considering the sub-folders in the template folder, even if you are configuring in the "project.ini" file the "Recurse = 1".

This component was the last update several years ago.

Attached is the listing of the template folder, along with the project configuration file. When creating a new project with this template, Lazarus creates the target folder but does not copy any files to it, and does not give any error messages in the process.
Steps To Reproduce- Copy the files to the templates folder
- Configure "project.ini"
- Set the "Recurse=1" in project.ini
- Create a project based on the template, in File/New/Template Projects
- Fill in all template variables
Additional InformationIf I copy all the files to the main folder the project is created normally (but the files are all mixed together).
Tagslazarus, ProjTemplates, Recurse
Fixed in Revision
LazTarget
WidgetsetWin32/Win64
Attached Files
  • files.txt (1,175 bytes)
     Pasta de C:\Fontes\Lazarus\Templates\RDWStandAlone
    
    11/07/2019  15:59    <DIR>          source
    11/07/2019  16:01               443 project.ini
    
     Pasta de C:\Fontes\Lazarus\Templates\RDWStandAlone\source
    
    11/07/2019  15:59    <DIR>          servidor
    11/07/2019  14:10             3.109 criptografia.pas
    
     Pasta de C:\Fontes\Lazarus\Templates\RDWStandAlone\source\servidor
    
    11/07/2019  15:59    <DIR>          StandAlone
    11/07/2019  14:10               317 servidor.tipos.pas
    11/07/2019  14:38               597 __MAINUNITSM__.lfm
    11/07/2019  14:37               452 __MAINUNITSM__.pas
    11/07/2019  14:10               108 __PROJNAME__.ico
    11/07/2019  14:26             2.696 __PROJNAME__.lpi
    11/07/2019  14:22               609 __PROJNAME__.lpr
    11/07/2019  14:35             2.254 __PROJNAME__.lps
    11/07/2019  14:10             1.958 __PROJNAME__.res
    
     Pasta de C:\Fontes\Lazarus\Templates\RDWStandAlone\source\servidor\StandAlone
    
    11/07/2019  14:42             1.063 __MAINUNITDM__.lfm
    11/07/2019  14:42             2.279 __MAINUNITDM__.pas
    11/07/2019  14:46           295.724 __MAINUNIT__.lfm
    11/07/2019  14:45            18.574 __MAINUNIT__.pas
    
    files.txt (1,175 bytes)
  • project.ini (443 bytes)

Activities

Francis Silva

2019-07-12 01:48

reporter  

files.txt (1,175 bytes)
 Pasta de C:\Fontes\Lazarus\Templates\RDWStandAlone

11/07/2019  15:59    <DIR>          source
11/07/2019  16:01               443 project.ini

 Pasta de C:\Fontes\Lazarus\Templates\RDWStandAlone\source

11/07/2019  15:59    <DIR>          servidor
11/07/2019  14:10             3.109 criptografia.pas

 Pasta de C:\Fontes\Lazarus\Templates\RDWStandAlone\source\servidor

11/07/2019  15:59    <DIR>          StandAlone
11/07/2019  14:10               317 servidor.tipos.pas
11/07/2019  14:38               597 __MAINUNITSM__.lfm
11/07/2019  14:37               452 __MAINUNITSM__.pas
11/07/2019  14:10               108 __PROJNAME__.ico
11/07/2019  14:26             2.696 __PROJNAME__.lpi
11/07/2019  14:22               609 __PROJNAME__.lpr
11/07/2019  14:35             2.254 __PROJNAME__.lps
11/07/2019  14:10             1.958 __PROJNAME__.res

 Pasta de C:\Fontes\Lazarus\Templates\RDWStandAlone\source\servidor\StandAlone

11/07/2019  14:42             1.063 __MAINUNITDM__.lfm
11/07/2019  14:42             2.279 __MAINUNITDM__.pas
11/07/2019  14:46           295.724 __MAINUNIT__.lfm
11/07/2019  14:45            18.574 __MAINUNIT__.pas
files.txt (1,175 bytes)
project.ini (443 bytes)

Issue History

Date Modified Username Field Change
2019-07-12 01:48 Francis Silva New Issue
2019-07-12 01:48 Francis Silva File Added: files.txt
2019-07-12 01:48 Francis Silva File Added: project.ini
2019-07-12 01:49 Francis Silva Tag Attached: lazarus
2019-07-12 01:49 Francis Silva Tag Attached: ProjTemplates
2019-07-12 01:49 Francis Silva Tag Attached: Recurse