AntUnit now requires Ant 1.8.1
This commit is contained in:
parent
592579abfd
commit
f66f1178dc
4
README
4
README
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -325,21 +325,6 @@
|
|||
<assertResourceExists resource="${ant.home}/lib/ant.jar"/>
|
||||
</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>
|
||||
<au:assertTrue message="Expected resource '${ant.home}/lib/ant.jar' to exist">
|
||||
<au:resourceExists>
|
||||
<file file="${ant.home}/lib/ant.jar"/>
|
||||
</au:resourceExists>
|
||||
</au:assertTrue>
|
||||
</pre>
|
||||
|
||||
<h2><a name="assertRefResourceExists">assertRefResourceExists</a></h2>
|
||||
|
||||
<p><em>Since AntUnit 1.3</em></p>
|
||||
|
|
@ -376,11 +361,6 @@
|
|||
<assertRefResourceExists refid="ant.jar"/>
|
||||
</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 @@
|
|||
</assertNestedResourceExists>
|
||||
</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 @@
|
|||
<assertResourceDoesntExist resource="${ant.home}/lib/ant.jar"/>
|
||||
</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>
|
||||
<au:assertFalse message="Didn't expect resource '${ant.home}/lib/ant.jar' to exist">
|
||||
<au:resourceExists>
|
||||
<file file="${ant.home}/lib/ant.jar"/>
|
||||
</au:resourceExists>
|
||||
</au:assertFalse>
|
||||
</pre>
|
||||
|
||||
<h2><a name="assertRefResourceDoesntExist">assertRefResourceDoesntExist</a></h2>
|
||||
|
||||
<p><em>Since AntUnit 1.3</em></p>
|
||||
|
|
@ -509,11 +469,6 @@
|
|||
<assertRefResourceDoesntExist refid="ant.jar"/>
|
||||
</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 @@
|
|||
</assertNestedResourceDoesntExist>
|
||||
</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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue