On Fri, 22 Aug 2008, Tom Verhoeff wrote:
Since project.ini seems to be treated specially anyway (it is
not copied), it makes sense to treat project.* also specially
and substitute $(ProjName) for 'project'. I will then add an
example...
(I'll start a new thread on renaming files within
On Tue, 19 Aug 2008, Tom Verhoeff wrote:
On Mon, Aug 18, 2008 at 05:32:17PM +0200, Michael Van Canneyt wrote:
On Mon, 18 Aug 2008, Tom Verhoeff wrote:
Where can one find the article? Or is this the same as the README.txt
in components/projecttemplates?
It's at home, I'll
Zitat von Michael Van Canneyt [EMAIL PROTECTED]:
[...]
3. Why are the built-in 'New Project' options, such as Custom Program,
not handled via the template mechanism? An example template would
be helpful.
Project templates were implemented WAY after the File|new mechanism :-)
On Fri, 22 Aug 2008, Mattias Gärtner wrote:
Zitat von Michael Van Canneyt [EMAIL PROTECTED]:
[...]
3. Why are the built-in 'New Project' options, such as Custom Program,
not handled via the template mechanism? An example template would
be helpful.
Project templates were
On Fri, Aug 22, 2008 at 09:25:23AM +0200, Michael Van Canneyt wrote:
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,
On Fri, 22 Aug 2008, Tom Verhoeff wrote:
On Fri, Aug 22, 2008 at 09:25:23AM +0200, Michael Van Canneyt wrote:
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
On Fri, Aug 22, 2008 at 01:40:34PM +0200, Michael Van Canneyt wrote:
No. Any substitution must be marked as such. There are no 'special'
cases, but if you want to send some patches to handle this, let me know.
What you mention concerns substitutions _inside_ the (text) files. What
On Wed, Aug 20, 2008 at 8:47 PM, Tom Verhoeff [EMAIL PROTECTED] wrote:
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
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/
From this I gather it defaults to wherever the Lazarus settings folder
is plus the templates directory. Obviously this
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]:
[...]
I know in Pascal you can't rename the unit or program name inside the
file and yet the file itself still has the old name. I always thought
this strange of Pascal, but that's the rules of Pascal! Physical
filename and 'program' or 'unit'
On 8/20/08, Mattias Gärtner [EMAIL PROTECTED] wrote:
Note:
The program name and the program filename can differ.
And unit names and filenames can differ with -Un switch.
Never knew that Though in my defence, I have never seen anybody
use it like that. ;-)
Regards,
- Graeme -
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
Tom Verhoeff schreef:
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,
2008/8/18 Michael Van Canneyt [EMAIL PROTECTED]:
Since I am the implementor, I'm of course very glad to hear you say this :-)
Excellent work as always!
But honest is honest, the idea I got from RemObjects, which uses
a similar idea in Delphi. So only half the credit is mine :-)
You are not
On Mon, Aug 18, 2008 at 05:32:17PM +0200, Michael Van Canneyt wrote:
On Mon, 18 Aug 2008, Tom Verhoeff wrote:
Where can one find the article? Or is this the same as the README.txt
in components/projecttemplates?
It's at home, I'll send it in private. I'm not allowed to publish
How can you add your own template to be available for use when creating
a new project?
I would like to include a variation on Custom Program.
Thanks,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. Comp. Science
PHONE: +31 40 247 41 25| Technische Universiteit
On Mon, Aug 18, 2008 at 3:44 PM, Tom Verhoeff [EMAIL PROTECTED] wrote:
How can you add your own template to be available for use when creating
a new project?
I would like to include a variation on Custom Program.
I don't know if there is actual documentation on the steps...
What I did was to
On Mon, 18 Aug 2008, Tom Verhoeff wrote:
How can you add your own template to be available for use when creating
a new project?
I would like to include a variation on Custom Program.
I have an article describing this, or you can use the project templates
(which is actually what the
Zitat von Tom Verhoeff [EMAIL PROTECTED]:
How can you add your own template to be available for use when creating
a new project?
I would like to include a variation on Custom Program.
See components/projecttemplates/README.txt
Mattias
___
Lazarus
On Mon, Aug 18, 2008 at 4:16 PM, Mattias Gärtner
[EMAIL PROTECTED] wrote:
See components/projecttemplates/README.txt
I've never actually tried that—until now. That is a brilliant idea
and it works so well! Yet again I learnt something new about Lazarus
IDE. :-)
Regards,
- Graeme -
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
I've never actually tried that—until now. That is a brilliant idea
and it works so well! Yet again I learnt
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.
Zitat von Michael Van Canneyt [EMAIL PROTECTED]:
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
On Mon, 18 Aug 2008, Mattias Gärtner wrote:
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 ?
Both. Send the
24 matches
Mail list logo