[Lazarus] Lazarus 0.9.27 rest unit1.lrs on windows desktop whensave new Application

Samuel Herzog sam_herzog at yahoo.com
Wed Feb 11 12:07:04 CET 2009


I can confirm the behavoir described here.

If  I create a new Application and save it to c:\temp for example, then the file unit1.lrs will be saved on my desktop.

Shall I open bug report ?





________________________________
Von: Mattias Gärtner <nc-gaertnma at netcologne.de>
An: ÷ÌÁÄÉÍÉÒóÒÅÄÎÉÈ <cobalt747 at mail.ru>; General mailing list <lazarus at lazarus.freepascal.org>
Gesendet: Mittwoch, den 11. Februar 2009, 11:49:10 Uhr
Betreff: Re: [Lazarus] Lazarus 0.9.27 rest unit1.lrs on windows desktop whensave new Application

Zitat von ÷ÌÁÄÉÍÉÒ óÒÅÄÎÉÈ <cobalt747 at mail.ru>:

> Suppose, it's because of shortcut to Lazarus does not contain Work Directory,
> and it became Desktop.
>
> From this point i think, that write to, or read from "somefile" does not
> good.
> Good practice is to specify FULL path to file any time.

The IDE will cut any full path automatically.


>[...]
> > Steps to reproduce:
> >
> > Start Lazarus.
> > Menu File->New...-> Application
> >
> > then Menu File->Save All, save all files to new created directory
> >
> > Look at desktop and find out unit1.lrs
> >
> > If i add one more forms to project, then for each unit will be unitN.lrs on
> Desktop

Are these created already before saving or after you saved the new unit?

The .lrs files should be put into the same directory as the .ppu files (the unit
output directory). This has been changed recently.
Where are the .ppu files created, when you compile?

Mattias

_______________________________________________
Lazarus mailing list
Lazarus at lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090211/28172101/attachment-0007.html>


More information about the Lazarus mailing list