[Lazarus] Clearing a project

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Mon Feb 4 13:01:29 CET 2013


Mattias Gaertner wrote:
> Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> hat am 4. Februar 2013 um
> 12:08 geschrieben:
>> Is there an easy way of clearing all stored state out of the .lps/lpi
>> files, i.e. leaving no history of opened units/forms etc. except
>> possibly a reference to the .lpr or the main-form unit?
> 
> You can save session data separate in the lps file.
> Close project, delete lps, open project.

Did that yesterday, but it still leaves at least one file in the .lpi 
(which was the one that we didn't want saved, under the circumstances).

>> I'm mindful of my current issue with files being referenced over
>> different paths (when such a thing is possible, e.g. because of the
>> presence of symlinks) but also it would seem like a good thing to do
>> before publishing a project as source.
> 
> Do you mean
> Project / Publish Project

I was thinking about the general case, including svn to a public 
repository such as Berlios.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list