[Lazarus] ProjTemplates package issues & bugs

Michael Van Canneyt michael at freepascal.org
Tue Nov 2 10:09:41 CET 2010



On Tue, 2 Nov 2010, patspiper wrote:

> On 11/02/2010 09:24 AM, Graeme Geldenhuys wrote:
>> 
>> I get all the same bugs you mention and then some... The "project
>> templates" is a nice idea in the IDE, but practically it is riddled with
>> bugs and is simply not usable at this point. Other than you and myself, I
>> don't think anybody has actually tried to use that IDE add-on.
>> 
>> It was simply easier to create my own IDE add-on package which registers a
>> new project type, by-passing the IDE Templates idea. For an example of such
>> a IDE add-on package, have a look at the following URL (part of fpGUI
>> repository)
>> 
>> http://tinyurl.com/2cthede
>> 
>> ..or the original looooong URL...
>> 
>> http://fpgui.git.sourceforge.net/git/gitweb.cgi?p=fpgui/fpgui;a=tree;f=extras/lazarus_ide;h=4d006c843d0ed5c550161d13f31b103342d71398;hb=HEAD
>> 
>> 
>> I'm not sure, but I think there might be similar examples included with
>> Lazarus sources.
>>
>> 
> If there are no such examples included with the Lazarus sources, then I 
> suggest that your package, or a similar one that does not depend on fpgui, be 
> included in the examples folder of Lazarus. It is instructive and would save 
> a lot of time for someone trying to achieve the same.

The fpweb, daemonapp, fpcunit packages all contain samples of how to do
this.

Michael.




More information about the Lazarus mailing list