SVN Repository - how to view/edit Lazarus as a project lazarus / 8-Other ---------------------------------------------------------------------- Prognatus · 2005-09-25 15:30 Hi, I'm fairly new to Lazarus, so have patience with me.    I'm learning - and even reading the docs before trying - but some questions pop up now and then... Now I've installed TortoiseSVN 1.24 and successfully done a Checkout of the Lazarus source.  To begin with, I created a new directory; "Lazarus_svn", for this SVN source.  From before, I have installed snapshot(s) in directory "Lazarus".  ...I didn't want to mix them until I got a look at how the SVN routine worked. 1. But I'm puzzled...  How do I open the Lazarus project in Lazarus, for viewing (and possibly editing)?  I'm used to open a .LPI-file, but there's no such file present in the SVN source for the entire project, as far as I can see.  I didn't find it in the snapshot source either. Is there some quick way to generate a .LPI-file by using a tool or something? 2. As I said, I've put the SVN source in a separate directory from the one I use when installing snapshots. Is the preferred method to Checkout the SVN source in the same directory instead, and then just issue an SVN Update after installing a snapshot?  Or should I compile/make Lazarus from scratch after every SVN Update - instead of continuing to install snapshots now? 3. For anyone who has used TortoiseSVN before: How do I make a Diff file (without using the command line version) - from inside TortoiseSVN?  I'm sure I'll figure this out sooner or later, but... 4. Any other useful tips? Thanks for any input you may have! --- Prognatus ---------------------------------------------------------------------- glober · 2005-09-25 17:31 For running Lazarus inside of Lazarus have a look at the message at: http://www.lazarus.freepascal.org/list_archives/lazarus/msg06101.html You will probably also want to turn off [menu]->Environment->Environment options->Files->Open last project at start. ---------------------------------------------------------------------- Prognatus · 2005-09-26 14:02 Thanks, glober! There are two versions of lazarus.pp though - one in Lazarus root directory (from Des. 12, 2004) and one in the IDE subdirectory (from Sept. 21, 2005).  The latter one is newer of course, since that is the one from my SVN checkout operation.  (I guess an older installation has placed source files in the root directory.) But the problem is that I can only make a project out of the old one.  If I load that into the editor, I get asked if I want to make a project of it.  But when I load \ide\lazarus.pp in the same way, it just loads as a source file. Do you know why Lazarus doesn't recognize \ide\lazarus.pp as a program? --- Prognatus ---------------------------------------------------------------------- glober · 2005-09-26 23:55 Don't know if the difference in loading is important. The main thing is that it compiles. Keep in mind that Lazarus itself is only made up source files, you won't see it like a GUI project. ---------------------------------------------------------------------- Anonymous · 2005-09-30 03:49 I doesn't compile without the .LPI-file loaded.  It compiles the default Project1 instead.