Don’t worry. As long as a majority of the politicians, judges and generals are persons of Jewish descent who reject Torah and Mitsvos, and who assert (and even sing about it the national anthem) that the goal of zionism is to free Jews from the yoke of Torah – no one would see the war as being a Milhemes Mitsvah. At some point, based on current demographic trends, Eretz Yisrael might have a government in which most of the leadership (of the government, the legal system and even the military) will be Bnei Torah, and the upper class hilonim will be fleeing since they don’t want to live in Jewish state – then the question will get interesting.