Clear the environment when running war files