Test if the WAR file exists only after building the project.
(Re-)build automatically the Hello World sample.