Modify

Opened 8 months ago

Closed 4 months 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 Changed 8 months ago by simon04

Resolution: fixed
Status: newclosed

In 16432/josm:

fix #19249 - Travis CI: fix Apache Ant download

comment:2 Changed 8 months ago by simon04

Thank you!

comment:3 Changed 4 months ago by simon04

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 Changed 4 months ago by simon04

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 Changed 4 months ago by simon04

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 Changed 4 months ago by simon04

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.