Opened 9 years ago

Closed 9 years ago

#6566 closed enhancement (fixed)

apache-ant-1.9.5

Reported by: Fernando de Oliveira Owned by: Pierre Labastie
Priority: normal Milestone: 7.8
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Note s/http/https/

https://archive.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.bz2

https://archive.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.bz2.asc

https://archive.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.bz2.md5

1eddcf051c8a7010c46ca940c63d478d

https://raw.githubusercontent.com/apache/ant/master/WHATSNEW

Changes from Ant 1.9.4 TO Ant 1.9.5
===================================

Changes that could break older environments:
-------------------------------------------

 * The ReplaceTokens filter can now use token-separators longer than
   one character.  This means it can be used to replace mustache-style
   {{patterns}} and similar templates.  This is going to break code
   that invokes the setters on ReplaceTokens via the Java API as their
   parameters have been changed from char to String.  It may also
   break build files that specified multi character tokens and relied
   on Ant silently ignoring all but the first character.
   Bugzilla Report 56584

 * The changes that added <get>'s support for gzip encoding
   automatically uncompressed content that would not have been touched
   before - like when downloading .tar.gz files.  A new flag has been
   added to control the behavior and its default will make <get> work
   as it did in 1.9.3.  I.e. if you want it to work like 1.9.4
   you have to explicitly set tryGzipEncoding to true.
   Bugzilla Report 57048

Fixed bugs:
-----------

 * TarArchiveInputStream failed to read archives with empty gid/uid
   fields.
   Bugzilla Report 56641

 * TarArchiveInputStream could throw IOException when reading PAX
   headers from a "slow" InputStream.

 * XMLJunitResultFormatter could throw NullPointerException if Java
   cannot determine the local hostname.
   Bugzilla Report 56593

 * URLResource#getLastModified tried to access the connection to the
   URL without making sure it was established, potentially leading to
   a NullPointerException when using FTP.
   Bugzilla Report 56873

 * Long-Name and -link or PAX-header entries in TAR archives
   always had the current time as last modfication time, creating
   archives that are different at the byte level each time an
   archive was built.

 * runant.py should now work as well when the path of the Java executable
   contains spaces.
   github pull request #1

 * <junitreport> now supports nested <classpath> and <factory> elements.
   Bugzilla Report 47002

 * complete-ant-cmd.pl now also knows about the -file option.
   Bugzilla Report 57371

 * the br-replace template inside the XSLT stylesheets used by
   <junitreport> could cause stack overflows or out-of-memory errors
   when applied to big outputs.
   Bugzilla Report 57341

 * removed spurious warning about unclosed ZipFiles when reading the
   archive failed.
   Port of https://issues.apache.org/jira/browse/COMPRESS-297

 * FileUtils.rename which is used by several tasks can throw a
   NullPointerException if the "normal" renameTo operation fails and
   an exception occurs while rename falls back to copying and deleting
   the file.
   Bugzilla Report 57533

 * complete-ant-cmd.pl would incorrectly suggest words from the build
   file description.
   Bugzilla Report 51931

 * complete-ant-cmd.pl now also completes tasks without a description.
   Bugzilla Report 57542

 * LocalPropertyStack could run into ConcurrentModificationException
   when tasks spawned new child threads that accessed the properties.
   Bugzilla Report 55074

 * TarEntry's constructor with a File and a String arg didn't
   normalize the name.

 * Between 1.8.4 and 1.9.0 TarInputStream started to parse file
   names using the platform's default encoding rather than as ASCII.
   This has been a breaking change that has never been marked as such
   (in fact it went unnoticed).  In order to allow <untar> and
   <tarfileset> to work on platforms who's encoding doesn't match the
   encoding of file names inside the archive, both now support
   encoding attributes.
   The attribute has also been added to <tar> for symmetry.
   Bugzilla Report 57822

Other changes:
--------------

 * it is now possible to provide proxy configuration to signjar
   when using the timestamped authority.
   Bugzilla Report 56678

 * complete-ant-cmd.pl now also analyzes the ANT_ARGS environment
   variable.
   Bugzilla Report 57371

 * ported some of the write-optimization of Commons Compress 1.10 to
   the ZIP package

 * adapted unit tests to Java9 and added "javac1.9" as valid option
   for javac's compiler attribute.

 * performance improvements for <intersect>
   Bugzilla Report 57588

 * MailLogger can now add CC and BCC addresses.
   Bugzilla Report 57789.

 * <scp>'s buffer size has been increased from 1k to 100k to match
   <ftp> and <get>.
   github pull requests #8 and #9

 * The tar package can now deal with group and user ids bigger than
   0x80000000.
   https://issues.apache.org/jira/browse/COMPRESS-314
   https://issues.apache.org/jira/browse/COMPRESS-315

 * <scp> has new attributes fileMode and dirMode that control the
   permissions on the remote side when sending data via SSH.
   Bugzilla Report 43271.

 * New <allbutlast> and <allbutfirst> resource collections can be used
   to select all but a given subset of a resource collection.
   Bugzilla Report 57834.

Change History (5)

comment:1 by Pierre Labastie, 9 years ago

Owner: changed from blfs-book@… to Pierre Labastie
Status: newassigned

comment:2 by Pierre Labastie, 9 years ago

I have a problem with the "https" part: when using wget, I get:

--2015-06-07 13:15:57--  https://archive.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.bz2
Resolving archive.apache.org... 140.211.11.131, 192.87.106.229, 2001:610:1:80bc:192:87:106:229
Connecting to archive.apache.org|140.211.11.131|:443... connected.
ERROR: cannot verify archive.apache.org's certificate, issued by 'CN=Thawte SSL CA,O=Thawte\\, Inc.,C=US':
  Unable to locally verify the issuer's authority.
To connect to archive.apache.org insecurely, use `--no-check-certificate'.

It work with firefox. I have the latest cacerts from anduin installed.

comment:3 by Fernando de Oliveira, 9 years ago

No problem here:

$ LANG=C wget -c https://archive.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.bz2
--2015-06-07 08:39:58--  https://archive.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.bz2
Resolving archive.apache.org (archive.apache.org)... 140.211.11.131, 192.87.106.229, 2001:610:1:80bc:192:87:106:229
Connecting to archive.apache.org (archive.apache.org)|140.211.11.131|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3807748 (3.6M) [application/x-bzip2]
Saving to: 'apache-ant-1.9.5-src.tar.bz2'

apache-ant-1.9.5-sr 100%[=====================>]   3.63M  1.02MB/s   in 3.6s   

2015-06-07 08:40:02 (1.02 MB/s) - 'apache-ant-1.9.5-src.tar.bz2' saved [3807748/3807748]

Using:

$ wget --version
GNU Wget 1.16.3 construído em linux-gnu.

+digest +https +ipv6 +iri +large-file +nls +ntlm +opie -psl +ssl/gnutls 

Wgetrc: 
    /etc/wgetrc (sistema)
Localidade: 
    /usr/share/locale 
Compilação: 
    gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc" 
    -DLOCALEDIR="/usr/share/locale" -I. -I../lib -I../lib 
    -I/usr/include/p11-kit-1 -DHAVE_LIBGNUTLS -DNDEBUG 
Link: 
    gcc -I/usr/include/p11-kit-1 -DHAVE_LIBGNUTLS -DNDEBUG -lpcre 
    -luuid -lnettle -lgnutls -L/usr/lib -lz -lidn ftp-opie.o gnutls.o 
    http-ntlm.o ../lib/libgnu.a

...

comment:4 by Pierre Labastie, 9 years ago

Thanks, Fernando. Actually, I had a difference: my wget was compiled against openssl! Recompiled against gnutls and everything's OK...

comment:5 by Pierre Labastie, 9 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r16090

Note: See TracTickets for help on using tickets.