Hmm, embarrassing. As far as I can see it does work but it creates this superfluous directory. It seems that the following definition goes better (and is simpler):
target-dir target${if;${driver;eclipse};;/${driver}}
Place should not make a difference. Then again it puzzles me.