On Mon, 28 Oct 2013 17:28:57 +0100, Sönke Ludwig wrote:

Yes, the command would have to be in both, preGenerateCommands and
preBuildCommands, if it needs to be run for every build. But maybe for
this particular case the "sourceFiles" solution is actually the most
clean way.

Yes, "sourceFiles" works very well. Thanks for your good job!