diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 660b9bef3b..bb631fcc8f 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -52,6 +52,7 @@ Benjamin Burgess Benoit Moussaud Bernd Dutkowski Bernhard Rosenkraenzer +Björn Kautler Brad Clark Brant Langer Gurganus Brian Curnow @@ -144,6 +145,7 @@ Erik Hatcher Erik Langenbach Erik Meade Ernst de Haan +Evan Saulpaugh Francesco Steccanella Frank Harnack Frank Somers @@ -170,6 +172,7 @@ Greg Roodt Greg Schueler Grégoire Vatry Günther Kögel +Hannes Wellmann Harish Prabandham Haroon Rafique Helder Pereira @@ -243,6 +246,7 @@ Kevin Greiner Kevin Jackson Kevin Ross Kevin Z. Grey +Kien Dang Kim Hansen Kirk Wylie Kristian Rosenvold @@ -405,6 +409,7 @@ Sean P. Kane Sebastian Kantha Sebastian Ratz Sebastien Arod +Sebastien Ballet Shiraz Kanga Simeon Fitch Simon Law @@ -441,11 +446,11 @@ Thomas Starlinger Tim Boemker Tim Drury Tim Fennell +TJ Rothwell Tim Stephenson Tim Whittington Timoteo Ohara Timothy Gerard Endres -TJ Rothwell Tom Ball Tom Brus Tom Cunningham @@ -454,6 +459,7 @@ Tom Eugelink Tom May Tomasz Bech Tomasz Kowalczewski +Tomodachi94 Tomáš Zezula Tony Gravagno Trejkaz Xaoza diff --git a/WHATSNEW b/WHATSNEW index e7af9c4299..a512e2f629 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -1,12 +1,42 @@ Changes from Ant 1.10.15 TO Ant 1.10.16 ======================================= +Changes that could break older environments: +------------------------------------------- + + * now uses the same logic to compare file timestamps when + determining whether a target file is out-of-date with respect to + the source file or stylesheet that most other tasks use. This means + it will assume a default timestamp granularity that depends on the + current operating system. + A new granularity attribute allows you to override the assumed + granularity. + Under certain edge cases this means xslt will now not process files + it would have processed before (when the timestamps of source or + stylesheet are very close or even equal to the timestamp of the + target). In this case you can set granularity to 0 to get back to + the behavior of 1.10.15. + Bugzilla Report 65756 + Fixed bugs: ----------- * now properly handles IPv6 addresses as hostnames. Bugzilla Report 59160 + * javac task has been fixed to generate the "-classpath" option + only when there are any classpath elements present. + Bugzilla Report 69586 + +Other changes: +-------------- + + * Ant will no longer set a java.lang.SecurityManager at runtime + if the "java.security.manager" system property is set to + "disallow". + Github Pull Request #216 + + Changes from Ant 1.10.14 TO Ant 1.10.15 ======================================= diff --git a/build.xml b/build.xml index 36abf45032..638873a39f 100644 --- a/build.xml +++ b/build.xml @@ -1211,8 +1211,7 @@ - - + diff --git a/contributors.xml b/contributors.xml index eb44cf58fd..8b9c3974b5 100644 --- a/contributors.xml +++ b/contributors.xml @@ -235,6 +235,10 @@ Bernhard Rosenkraenzer + + Björn + Kautler + Brad Clark @@ -607,6 +611,10 @@ Ernst de Haan + + Evan + Saulpaugh + Francesco Steccanella @@ -712,6 +720,10 @@ Günther Kögel + + Hannes + Wellmann + Harish Prabandham @@ -1014,6 +1026,10 @@ Z. Grey + + Kien + Dang + Kim Hansen @@ -1673,6 +1689,10 @@ Sebastien Arod + + Sebastien + Ballet + Shiraz Kanga @@ -1870,6 +1890,10 @@ Tomasz Kowalczewski + + Tomodachi94 + + Tomáš Zezula diff --git a/fetch.xml b/fetch.xml index 599b8f298d..3b09c7e632 100644 --- a/fetch.xml +++ b/fetch.xml @@ -234,7 +234,7 @@ Set -Ddest=LOCATION on the command line description="load JUnit libraries" depends="init"> - + , +Copyright (c) 2000-2024, www.hamcrest.org -All rights reserved. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. -3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/lib/optional/hamcrest-3.0.jar b/lib/optional/hamcrest-3.0.jar new file mode 100644 index 0000000000..763ffd9bb5 Binary files /dev/null and b/lib/optional/hamcrest-3.0.jar differ diff --git a/lib/optional/hamcrest-core-1.3.jar b/lib/optional/hamcrest-core-1.3.jar deleted file mode 100644 index 9d5fe16e3d..0000000000 Binary files a/lib/optional/hamcrest-core-1.3.jar and /dev/null differ diff --git a/lib/optional/hamcrest-library-1.3.jar b/lib/optional/hamcrest-library-1.3.jar deleted file mode 100644 index 9eac80d7ba..0000000000 Binary files a/lib/optional/hamcrest-library-1.3.jar and /dev/null differ diff --git a/manual/Tasks/conditions.html b/manual/Tasks/conditions.html index 247f2dd299..3e09e3bb5d 100644 --- a/manual/Tasks/conditions.html +++ b/manual/Tasks/conditions.html @@ -111,7 +111,8 @@

os

  • windows—for all versions of Microsoft Windows
  • dos—for all Microsoft DOS based operating systems including Microsoft Windows and OS/2
  • -
  • mac—for all Apple Macintosh systems prior to Mac OS X
  • +
  • mac—for all Apple Macintosh systems and likely Mac + OS X as well (may not detect MacOS X on all JVMs)
  • unix—for all Unix(-like) operating systems, including Linux and Mac OS X/macOS
  • netware—for Novell NetWare
  • diff --git a/manual/Tasks/style.html b/manual/Tasks/style.html index 9f0a16c68c..6ce33f8c9a 100644 --- a/manual/Tasks/style.html +++ b/manual/Tasks/style.html @@ -231,6 +231,15 @@

    Parameters

    1.8.0. No; default is true + + granularity + The number of milliseconds leeway to give before deciding a + file is out of date with respect of the source file or stylesheet. This is + needed because not every file system supports tracking the last modified time to the + millisecond level. This can also be useful if source and target files live on separate + machines with clocks being out of sync. since Ant 1.10.16. + No; default is 1 second, or 2 seconds on DOS systems +

    Parameters specified as nested elements

    diff --git a/manual/running.html b/manual/running.html index 7248cd11aa..ae2d01b804 100644 --- a/manual/running.html +++ b/manual/running.html @@ -662,6 +662,10 @@

    Running Ant via Java

    the ant-launcher.jar.

    +

    Note that both classes will terminate the running VM when the build + is finished and thus are not well suited as programmatic entry + points.

    +

    Ant can be started in Ant via the <java> command. Here is an example: diff --git a/src/etc/junit-frames-saxon.xsl b/src/etc/junit-frames-saxon.xsl index 1b2084ed0e..0f49f0aaf6 100644 --- a/src/etc/junit-frames-saxon.xsl +++ b/src/etc/junit-frames-saxon.xsl @@ -66,7 +66,7 @@ --> - Unit Test Results. + Unit Test Results @@ -298,7 +298,7 @@ - Unit Test Results: <xsl:value-of select="$title"/> + <xsl:value-of select="$TITLE"/>: <xsl:value-of select="$title"/> @@ -364,7 +364,7 @@ . - Unit Test Results: <xsl:value-of select="$class.name"/> + <xsl:value-of select="$TITLE"/>: <xsl:value-of select="$class.name"/> @@ -615,7 +615,7 @@ - Unit Test Results: Summary + <xsl:value-of select="$TITLE"/>: Summary diff --git a/src/etc/junit-frames-xalan1.xsl b/src/etc/junit-frames-xalan1.xsl index bc41a7cd80..39db782e5e 100644 --- a/src/etc/junit-frames-xalan1.xsl +++ b/src/etc/junit-frames-xalan1.xsl @@ -33,7 +33,7 @@ --> - +Unit Test Results @@ -127,7 +127,7 @@ - Unit Test Results. + <xsl:value-of select="$TITLE"/> @@ -207,7 +207,7 @@ h6 { . - Unit Test Results: <xsl:value-of select="$class.name"/> + <xsl:value-of select="$TITLE"/>: <xsl:value-of select="$class.name"/> @@ -432,7 +432,7 @@ h6 { - Unit Test Results: Summary + <xsl:value-of select="$TITLE"/>: Summary @@ -589,7 +589,7 @@ h6 { -

    Unit Test Results

    +

    diff --git a/src/etc/junit-frames.xsl b/src/etc/junit-frames.xsl index 732e040366..85504992f0 100644 --- a/src/etc/junit-frames.xsl +++ b/src/etc/junit-frames.xsl @@ -32,7 +32,7 @@ --> -Unit Test Results. +Unit Test Results @@ -79,7 +79,7 @@ - + @@ -264,7 +264,7 @@ h6 { - Unit Test Results: <xsl:value-of select="$title"/> + <xsl:value-of select="$TITLE"/>: <xsl:value-of select="$title"/> @@ -330,7 +330,7 @@ h6 { . - Unit Test Results: <xsl:value-of select="$class.name"/> + <xsl:value-of select="$TITLE"/>: <xsl:value-of select="$class.name"/> @@ -581,7 +581,7 @@ h6 { - Unit Test Results: Summary + <xsl:value-of select="$TITLE"/>: Summary diff --git a/src/etc/junit-noframes-saxon.xsl b/src/etc/junit-noframes-saxon.xsl index ce7efb8e0a..b72d5a93f4 100644 --- a/src/etc/junit-noframes-saxon.xsl +++ b/src/etc/junit-noframes-saxon.xsl @@ -58,7 +58,7 @@ limitations under the License. --> -Unit Test Results. +Unit Test Results -Unit Test Results. +Unit Test Results