[Lazarus] Clearing a project

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Feb 4 13:18:04 CET 2013


Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> hat am 4. Februar 2013 um
13:01 geschrieben:
> 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).

What was left, what should not be there?


> >> 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.

The lps is normally not stored in the svn repository.

Mattias




More information about the Lazarus mailing list