[Lazarus] Project / Save Project As ... - expected behavior?

Peter Williams pewilliams2010 at live.com
Sat Apr 2 17:29:14 CEST 2011


Hi

> Date: Sat, 2 Apr 2011 10:19:08 +0200
> From: nc-gaertnma at netcologne.de
> To: lazarus at lists.lazarus.freepascal.org
> Subject: Re: [Lazarus] Project / Save Project As ... - expected behavior?
> 
> On Fri, 1 Apr 2011 20:54:11 -0500
> John Repucci <john.repucci at gmail.com> wrote:
> 
> > If I have a project that works (ie: compiles correctly...) and I do a
> > Project / Save Project As ... into a different directory with a
> > different name, should I expect that the new project should contain
> > all necessary files and compile correctly?
> 
I believe that currently it is necessary to use the menu "View / Units..." for each unit then do a "File / Save as..." for each of the units. I also think that when a unit is saved that it's form is automatically saved... someone please correct me if this is wrong.
> Only the lpi and lpr files are copied to the new location and the
> search paths are adapted. Normal projects will still compile.
> If you want a copy of the whole project directory you can use your
> favorite file browser.
> 
>  
> > OnGuard example program: "codegen"  - If I compile it, it works just fine.
> > When I do a Project Save As ...into a different directory, I only find
> > two files in the new directory - NewCodeGen.lpi and NewCodeGen.lpr.
> > And (duh...), the application fails to compile, complaining it cannot
> > find a unit (codegenu, in this case).
> 
> Please create a bug report and give a simple example with a directory
> layout.
> 
> Mattias
> 

Best Regards,Peter / pew
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110403/300accae/attachment-0003.html>


More information about the Lazarus mailing list