Re: Problems with ftp download
Stefan Bodewig <[email protected]> Sat, 04 Mar 2023 15:28:29 +0100
| Newsgroups | gmane.comp.jakarta.ant.user |
|---|---|
| Message-ID | <[email protected]> |
--=-=-= Content-Type: text/plain On 2023-03-03, Frank Tornack wrote: > I am trying to build apache ant from source and unfortunately have a > problem. > -fetch-netrexx-no-commons-net: > Getting: ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip > To: /root/.ant/tempcache/NetRexx.zip > Error getting ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip to /root/.ant/tempcache/NetRexx.zip > BUILD FAILED > /opt/ant-src/fetch.xml:405: sun.net.ftp.FtpLoginException: Invalid username/password > at java.base/sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:341) > at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:790) > at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:699) > at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:689) > Does anyone have an idea how I can solve this? When trying to access the server manually it tells me I need to use TLS for the control channel, which unfortuantely is not supported by java.net.URL. I found https://netrexx.org/downloads.nsp which provides downloads via https, so I modified the fetch.xml setup in master with https://github.com/apache/ant/commit/541a1d2448af3e95134f79a970a608403deab00a I picked the really old 2.05 as this is claimed to be the latest IBM release. Right now I lack the cylces to check whether Ant's NetRexx support - which probably hasn't been touched in more than a decade - would work with more recent releases. Stefan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmQDVY0ACgkQohFa4V9ri3KoYQCdG1pXmCf1gJQpqTXoQN4h1EQF zPQAnj6E5i0Kro/fZTV3UhW9S9tLJfRJ =WbBe -----END PGP SIGNATURE----- --=-=-=--