[tor-bugs] #25022 [Metrics/Website]: Convert all scripts used for building to Ant tasks

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 8 13:56:59 UTC 2018


#25022: Convert all scripts used for building to Ant tasks
-----------------------------+--------------------------------
 Reporter:  iwakeh           |          Owner:  iwakeh
     Type:  enhancement      |         Status:  needs_revision
 Priority:  Medium           |      Milestone:
Component:  Metrics/Website  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+--------------------------------
Changes (by karsten):

 * cc: metrics-team (added)
 * status:  needs_review => needs_revision


Comment:

 Hmm, it doesn't work for me:

 {{{
 ~/src/metrics-web$ ant generate-specs
 Buildfile: /Users/karsten/src/metrics-web/build.xml

 submoduleupdate:

 init:

 generate-specs:

 xml2jsp:
      [echo] Generating bridge-descriptors specification jsp ...
      [exec] awk: syntax error at source line 1
      [exec]  context is
      [exec]      >>> /Users/karsten/src/metrics-
 web/src/main/resources/spec/convert. <<< awk
      [exec] awk: bailing out at source line 1

 BUILD FAILED
 /Users/karsten/src/metrics-web/build.xml:231: The following error occurred
 while executing this line:
 /Users/karsten/src/metrics-web/build.xml:262: exec returned: 2

 Total time: 2 seconds
 ~/src/metrics-web$ find . | grep tmp
 ./${generated}/spec/bridge-descriptors.tmp
 ./${generated}/spec/bridge-descriptors.tmp2
 }}}

 The reason for leaving the generated JSPs under version control was that
 one wouldn't need to have to regenerate specs in order to build the
 website. Now we make that a requirement. I don't feel strongly about this.

 (And again, I didn't get a notification for this ticket update...)

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


More information about the tor-bugs mailing list