Modify

Opened 5 years ago

Closed 4 years ago

#19249 closed defect (fixed)

Travis on Github mirror fails due to outdated Apache Ant link

Reported by: mmd Owned by: simon04
Priority: normal Milestone:
Component: Git mirror Version:
Keywords: Cc:

Description

https://github.com/openstreetmap/josm/blob/master/.travis.yml references a no longer available Apache Ant binary:

See https://downloads.apache.org/ant/binaries/ for a list of available files.

Suggestion would be to move to apache-ant-1.10.8-bin.tar.gz instead

Attachments (0)

Change History (6)

comment:1 by simon04, 5 years ago

Resolution: fixed
Status: newclosed

In 16432/josm:

fix #19249 - Travis CI: fix Apache Ant download

comment:2 by simon04, 5 years ago

Thank you!

comment:3 by simon04, 4 years ago

Resolution: fixed
Status: closedreopened

CI is broken again

$ curl --head https://downloads.apache.org/ant/binaries/apache-ant-1.10.8-bin.tar.gz
HTTP/1.1 404 Not Found
Date: Mon, 05 Oct 2020 19:42:34 GMT
Server: Apache
Content-Type: text/html; charset=iso-8859-1

Of course, now the version is 1.10.9 – https://downloads.apache.org/ant/binaries/apache-ant-1.10.9-bin.tar.gz

We need a more robust way for installing Apache Ant!

comment:4 by simon04, 4 years ago

For GitHub Actions, it seems that Ant does not need to be installed separately, see https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-java-with-ant

Testing here: https://github.com/openstreetmap/josm/pull/64

comment:5 by simon04, 4 years ago

Not working since JUnitLauncher is not present. Ant provides an archive of old releases at https://archive.apache.org/dist/ant/binaries/. Should work…

comment:6 by simon04, 4 years ago

Resolution: fixed
Status: reopenedclosed

In 17086/josm:

fix #19249 - CI: download Ant from a stable URL

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.