No build revision available when building the .war file before .jar files

When I run ant clean war and start the resulting .war file, I get the following message:

2018-04-06 10:29:06,264 WARN o.t.o.s.ResponseBuilder:48 No build revision available.

Also, responses are missing the "build_revision" field.

When I run ant clean jar war, everything's fine.

I only tried this out with Onionoo, but maybe other components are affected, too.

Sounds like an easy fix to the dependencies/calls in build.xml for somebody who is better at doing Ant things than I.