You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/06/27 19:57:56 UTC

[Bug 62164] Build for Eclipse IDE does not work

https://bz.apache.org/bugzilla/show_bug.cgi?id=62164

--- Comment #6 from Konstantin Kolinko <kn...@gmail.com> ---
(In reply to Mark Thomas from comment #3)
> I can understand Ant not allowing an https -> http redirect but I'm not sure
> why http -> https isn't allowed.
> 

This is actually a regression in Apache Ant 1.9.10+.
The code of Get task was broken during a checkstyle cleanup.

I filed this into Bugzilla for Apache Ant:
https://bz.apache.org/bugzilla/show_bug.cgi?id=62499


> In theory, switching everything to https would fix this - but many of the
> mirrors used by the ASF are not configured for TLS. And the ECJ download
> doesn't appear to want to work over TLS either.
> 
> Maven and SF seem OK so my solution at this point is to switch them to TLS
> and leave the others.

I am facing failure with ASF mirrors. Using Apache Ant 1.9.12:


trydownload:
      [get] Getting:
https://www.apache.org/dyn/closer.lua?action=download&filename=/commons/daemon/binaries/commons-daemon-1.1.0-bin.tar.gz
      [get] To: -censored-\download-1299307821.tar.gz
      [get]
https://www.apache.org/dyn/closer.lua?action=download&filename=/commons/daemon/binaries/commons-daemon-1.1.0-bin.tar.gz
moved to
http://apache-mirror.rbc.ru/pub/apache//commons/daemon/binaries/commons-daemon-1.1.0-bin.tar.gz

BUILD FAILED
-censored-\trunk\build.xml:2670: The following error occurred while executing
this line:
-censored-\trunk\build.xml:2986: The following error occurred while executing
this line:
-censored-\trunk\build.xml:3102: Redirection detected from https to http.
Protocol switch unsafe, not allowed.


The workaround: specify a specific mirror by setting "base-apache.loc.1"
property in build.properties file to the root URL of a mirror.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org