Hi List,<br><br>I need to move a project from a folder to another one; I tried using "publish project", but not all files belonging to it were moved.<br>Also the hierarchy was lost; my projects always have the following folder structure:<br>
project_folder<br>\------------------- project.lpi<br>\------------------- project.lpr<br>\------------------- project.exe<br>\------------------- UnitMain.pas<br>\------------------- UnitMain.lfm<br> ... other "main" files ...<br>
\------------------- src\<br>\--------------------------- UnitDebug.pas<br>\--------------------------- UnitOther.pas<br> ... other source files ...<br>\------------------- obj\<br>\--------------------------- all the files that are automatically created during build.<br>
<br><br>I then tried to "Save project as" into the new folder and then moving all the following:<br>*.lfm<br>*.pas<br>*.lpi<br>*.lpr<br><br>but then it complains that there are missing resources.<br>The original project was created with lazarus 0.9.28.2 and now I'm using an own built 0.9.31 (specific svn r30999), so the resource management has changed.<br>
I then removed all $I with .lrs and added the {$R *.res}<br><br>Finally, it compiles and build fine.......but: the main form doesn't show up when the application starts !!!<br>Of course I can see it and change in the IDE, I checked it is listed in the Forms List.....<br>
<br>What can i check next ?<br>BTW, what is the correct "project move" procedure? (given that publishing it has missed a lot of files).<br>Finally, any opinion on my choice of project folder structure? Any better suggestion?<br>
<br>Thanks all!<br><br> R#<br><br>