AntUnit now requires Ant 1.8.1

This commit is contained in:
Stefan Bodewig 2018-06-22 06:44:05 +02:00
parent 592579abfd
commit f66f1178dc
5 changed files with 7 additions and 54 deletions

4
README
View File

@ -16,8 +16,8 @@ distribution. The home of this library is
Building
========
This Ant Library requires Ant 1.7.0 or later to build, some of
the test use JUnit 3 (3.8.2 recommended).
This Ant Library requires Ant 1.8.1 or later to build, some of
the test use JUnit 4 (4.12 recommended).
It should work with any Java(TM) Runtime (and compile with any Java(TM)
Developer Kit) starting with version 1.2.

View File

@ -47,6 +47,9 @@
for reports could cause stack overflows or out-of-memory errors
when applied to big outputs.
</action>
<action type="update" breaks-bwc="true">
AntUnit now requires at least Ant 1.8.1 at runtime.
</action>
</release>
<release version="1.3" date="2014-05-14">

View File

@ -325,21 +325,6 @@
&lt;assertResourceExists resource="${ant.home}/lib/ant.jar"/&gt;
</pre>
<h3>Ant 1.7.x Note</h3>
<p><code>assertResourceExists</code> relies on Ant 1.8.0 or later,
it doesn't work with Ant 1.7.x. You can simulate the assertion
using the <code>resourceExists</code> condition
and <code>assertTrue</code>, for example</p>
<pre>
&lt;au:assertTrue message="Expected resource '${ant.home}/lib/ant.jar' to exist"&gt;
&lt;au:resourceExists&gt;
&lt;file file="${ant.home}/lib/ant.jar"/&gt;
&lt;/au:resourceExists&gt;
&lt;/au:assertTrue&gt;
</pre>
<h2><a name="assertRefResourceExists">assertRefResourceExists</a></h2>
<p><em>Since AntUnit 1.3</em></p>
@ -376,11 +361,6 @@
&lt;assertRefResourceExists refid="ant.jar"/&gt;
</pre>
<h3>Ant 1.7.x Note</h3>
<p><code>assertRefResourceExists</code> relies on Ant 1.8.0 or later,
it doesn't work with Ant 1.7.x.</p>
<h2><a name="assertNestedResourceExists">assertNestedResourceExists</a></h2>
<p><em>Since AntUnit 1.3</em></p>
@ -412,11 +392,6 @@
&lt;/assertNestedResourceExists&gt;
</pre>
<h3>Ant 1.7.x Note</h3>
<p><code>assertNestedResourceExists</code> relies on Ant 1.8.0 or later,
it doesn't work with Ant 1.7.x.</p>
<h2><a name="assertResourceDoesntExist">assertResourceDoesntExist</a></h2>
<p><em>Since AntUnit 1.2</em></p>
@ -458,21 +433,6 @@
&lt;assertResourceDoesntExist resource="${ant.home}/lib/ant.jar"/&gt;
</pre>
<h3>Ant 1.7.x Note</h3>
<p><code>assertResourceDoesntExist</code> relies on Ant 1.8.0 or later,
it doesn't work with Ant 1.7.x. You can simulate the assertion
using the <code>resourceExists</code> condition
and <code>assertFalse</code>, for example</p>
<pre>
&lt;au:assertFalse message="Didn't expect resource '${ant.home}/lib/ant.jar' to exist"&gt;
&lt;au:resourceExists&gt;
&lt;file file="${ant.home}/lib/ant.jar"/&gt;
&lt;/au:resourceExists&gt;
&lt;/au:assertFalse&gt;
</pre>
<h2><a name="assertRefResourceDoesntExist">assertRefResourceDoesntExist</a></h2>
<p><em>Since AntUnit 1.3</em></p>
@ -509,11 +469,6 @@
&lt;assertRefResourceDoesntExist refid="ant.jar"/&gt;
</pre>
<h3>Ant 1.7.x Note</h3>
<p><code>assertRefResourceDoesntExist</code> relies on Ant 1.8.0 or later,
it doesn't work with Ant 1.7.x.</p>
<h2><a name="assertNestedResourceDoesntExist">assertNestedResourceDoesntExist</a></h2>
<p><em>Since AntUnit 1.3</em></p>
@ -546,11 +501,6 @@
&lt;/assertNestedResourceDoesntExist&gt;
</pre>
<h3>Ant 1.7.x Note</h3>
<p><code>assertNestedResourceDoesntExist</code> relies on Ant 1.8.0 or later,
it doesn't work with Ant 1.7.x.</p>
<h2><a name="assertDestIsUptodate">assertDestIsUptodate</a></h2>
<p>Asserts that a dest file is more recent than the source

View File

@ -29,7 +29,7 @@
<h2>Requirements</h2>
<p>The current version requires Ant 1.7.0 or later.</p>
<p>The current version requires Ant 1.8.1 or later.</p>
<h2>Where is it?</h2>

View File

@ -75,7 +75,7 @@
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.1</version>
<version>1.8.1</version>
<scope>compile</scope>
<exclusions>
<exclusion>