> 
> 
> On Mon, 18 Aug 2008, Graeme Geldenhuys wrote:
> 
> > On Mon, Aug 18, 2008 at 4:16 PM, Mattias Gärtner
> <[EMAIL PROTECTED]> wrote:
> >
> > See components/projecttemplates/README.txt
> 
> Hi Mattias,
> 
> I'm playing a bit more with the project templates.  How is the
> project.ini file supposed to look like.  I read the readme file and
> created it as best, but Recurse doesn't work and neither does Exclude.
> 
> Here is my project.ini file
> 
> -------------------[ project.ini ]-----------------------
> [Project]
> Name=fpGUI Application (single file)
> Author=Graeme Geldenhuys
> Description=A simple single file GUI project.
> Recurse=1
> Exclude=.txt,.lps
 
This should be correct.

Note that excluded files are simply copied, they're just not parsed.

Concerning recurse:

line 405 of ProjectTemplates.pp contains

    If (FindFirst(Dir+'*',0,Info)<>0) then

that should be
    If (FindFirst(Dir+'*',0,Info)=0) then

Mattias, should I send a patch, or commit directly ?

Michael.
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to