Revert "LPS-48313 Make it work whether I type "ant jar" or "ant war""

This reverts commit 9ccb2a77f98f64bdd52a593b04bac446cd141973.