UFO:Alien Invasion

Archive => Bugs prior to release 2.3 => Topic started by: Rogz on March 26, 2009, 06:03:49 pm

Title: Error in farm map on build 23698
Post by: Rogz on March 26, 2009, 06:03:49 pm
After updating to revision 23698, the farm map fails according to http://www.sharkpool.se/ufoai-23698.txt (http://www.sharkpool.se/ufoai-23698.txt).
Title: Re: Error in farm map on build 23698
Post by: Rogz on March 26, 2009, 06:33:58 pm
Doh!

I was a little quick pointing my finger there. Removing all .bsp files in the farm directory did the trick.

 However, I really think the build system should pick up required map compilations so that one won't have to rebuild all maps with each svn update 'just in case'.
Title: Re: Error in farm map on build 23698
Post by: DuKe2112 on March 26, 2009, 06:48:46 pm
Actually it is supposed to be doing exactly that.
Title: Re: Error in farm map on build 23698
Post by: geever on March 26, 2009, 10:10:03 pm
However, I really think the build system should pick up required map compilations so that one won't have to rebuild all maps with each svn update 'just in case'.

Read this comment (http://ufoai.ninex.info/forum/index.php?topic=2830.msg24388#msg24388).

Extending it with a side note:
If we change build scripts so they detect changes in mapcompiler or loader then you will need to recompile all maps more often than it's really needed.

Note that you can use make clean-maps target or /clean switch of the batch file for removing old bsps.

-geever
Title: Re: Error in farm map on build 23698
Post by: Rogz on March 27, 2009, 07:48:50 am
That link just proves that search results are no better than the entered search parameters.  ;)

I guess that you could address this issue by adding a new file to the SVN tree, make all the maps depend on that file and bump its revision whenever a change that requires maps to be rebuilt is made. However, that solution is messy and after all... we're talking development branch here.

On the other hand, easier update-build-run cycle will increase testing and draw focus to _real_ problems and improvement suggestions that we all will benefit from.

Cheers!