On Wed, Aug 20, 2008 at 12:43:31PM +0200, Graeme Geldenhuys wrote:
> On 8/19/08, Tom Verhoeff <[EMAIL PROTECTED]> wrote:
> >
> >   1. What is the default location for the project templates?
> 
> Under my system (Linux) in was $HOME/.lazarus/templates/

Under Windows (which I use rarely, but our students do), it is

        C:\lazarus\templates

where Lazarus itself is installed in C:\lazarus\.  The ...\templates
directory does not even exist.

> >From this I gather it defaults to wherever the Lazarus settings folder
> is plus the templates directory.  ...

Apparently not on Windows.

> >   6. When creating a New Project from a template, a dialog window appears
> >     to set the project name and the directory name, and also to
> >  set additional variables.
> 
> Oh, and on my system the label captions don't fit and even if I resize
> the dialog, only the edit boxes resize, the captions always stay
> partially visible. Lazarus compiled with GTK1.

Same on Windows and Mac.

> >   7. It is not clear to me what the requirements are for naming files
> >     in the template, and how these names get changed when the template
> >  is instantiated.  Should I put files like project.ini, project.lpi,
> >  project.pas, unit1.pas in the template directory,
> 
> Yes

Is this a yes to that they need to be named project.lpi, or could
it also be demo.lpi?

> > and will
> >  project.{lpi,pas} be renamed depending on the name chosen by
> >  the user when instantiating the template?
> 
> Good question!  I was wondering the same thing and it seems it doesn't
> rename the files. They are copied as-is. Which makes we wonder what
> the Project Name variable is used for?

That is exactly what I want to understand.

        Tom
-- 
E-MAIL: T.Verhoeff @ TUE.NL     | Dept. of Math. & Comp. Science
PHONE:  +31 40 247 41 25        | Technische Universiteit Eindhoven
FAX:    +31 40 247 54 04        | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/  | The Netherlands
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to