From f66f1178dcb42af44f4008493262782afe7c9f4d Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 22 Jun 2018 06:44:05 +0200 Subject: [PATCH] AntUnit now requires Ant 1.8.1 --- README | 4 ++-- changes.xml | 3 +++ docs/assertions.html | 50 -------------------------------------------- docs/index.html | 2 +- project-template.pom | 2 +- 5 files changed, 7 insertions(+), 54 deletions(-) diff --git a/README b/README index 8dee281..4277933 100644 --- a/README +++ b/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. diff --git a/changes.xml b/changes.xml index deef041..e603faa 100644 --- a/changes.xml +++ b/changes.xml @@ -47,6 +47,9 @@ for reports could cause stack overflows or out-of-memory errors when applied to big outputs. + + AntUnit now requires at least Ant 1.8.1 at runtime. + diff --git a/docs/assertions.html b/docs/assertions.html index f851ddd..e460628 100644 --- a/docs/assertions.html +++ b/docs/assertions.html @@ -325,21 +325,6 @@ <assertResourceExists resource="${ant.home}/lib/ant.jar"/> -

Ant 1.7.x Note

- -

assertResourceExists relies on Ant 1.8.0 or later, - it doesn't work with Ant 1.7.x. You can simulate the assertion - using the resourceExists condition - and assertTrue, for example

- -
-      <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>
-    
-

assertRefResourceExists

Since AntUnit 1.3

@@ -376,11 +361,6 @@ <assertRefResourceExists refid="ant.jar"/> -

Ant 1.7.x Note

- -

assertRefResourceExists relies on Ant 1.8.0 or later, - it doesn't work with Ant 1.7.x.

-

assertNestedResourceExists

Since AntUnit 1.3

@@ -412,11 +392,6 @@ </assertNestedResourceExists> -

Ant 1.7.x Note

- -

assertNestedResourceExists relies on Ant 1.8.0 or later, - it doesn't work with Ant 1.7.x.

-

assertResourceDoesntExist

Since AntUnit 1.2

@@ -458,21 +433,6 @@ <assertResourceDoesntExist resource="${ant.home}/lib/ant.jar"/> -

Ant 1.7.x Note

- -

assertResourceDoesntExist relies on Ant 1.8.0 or later, - it doesn't work with Ant 1.7.x. You can simulate the assertion - using the resourceExists condition - and assertFalse, for example

- -
-      <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>
-    
-

assertRefResourceDoesntExist

Since AntUnit 1.3

@@ -509,11 +469,6 @@ <assertRefResourceDoesntExist refid="ant.jar"/> -

Ant 1.7.x Note

- -

assertRefResourceDoesntExist relies on Ant 1.8.0 or later, - it doesn't work with Ant 1.7.x.

-

assertNestedResourceDoesntExist

Since AntUnit 1.3

@@ -546,11 +501,6 @@ </assertNestedResourceDoesntExist> -

Ant 1.7.x Note

- -

assertNestedResourceDoesntExist relies on Ant 1.8.0 or later, - it doesn't work with Ant 1.7.x.

-

assertDestIsUptodate

Asserts that a dest file is more recent than the source diff --git a/docs/index.html b/docs/index.html index 9d1e712..3824276 100644 --- a/docs/index.html +++ b/docs/index.html @@ -29,7 +29,7 @@

Requirements

-

The current version requires Ant 1.7.0 or later.

+

The current version requires Ant 1.8.1 or later.

Where is it?

diff --git a/project-template.pom b/project-template.pom index 0f860e1..a34e656 100644 --- a/project-template.pom +++ b/project-template.pom @@ -75,7 +75,7 @@ org.apache.ant ant - 1.7.1 + 1.8.1 compile