[metrics-bugs] #25728 [Metrics/Onionoo]: No build revision available when building the .war file before .jar files

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 6 10:33:49 UTC 2018


#25728: No build revision available when building the .war file before .jar files
---------------------------------+--------------------------
     Reporter:  karsten          |      Owner:  metrics-team
         Type:  defect           |     Status:  new
     Priority:  Low              |  Milestone:
    Component:  Metrics/Onionoo  |    Version:
     Severity:  Normal           |   Keywords:
Actual Points:                   |  Parent ID:
       Points:                   |   Reviewer:
      Sponsor:                   |
---------------------------------+--------------------------
 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.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25728>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the metrics-bugs mailing list