This is an automated email from the ASF dual-hosted git repository.

brandonwilliams pushed a commit to branch cassandra-3.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/cassandra-3.0 by this push:
     new 34f5990  Require at least ant >= 1.10
34f5990 is described below

commit 34f59904f59fb54ee6413127e57a3cbe57fbfa30
Author: Brandon Williams <brandonwilli...@apache.org>
AuthorDate: Thu Mar 10 06:48:50 2022 -0600

    Require at least ant >= 1.10
    
    Patch by brandonwilliams; reviewed by smiklosovic and paulo for
    CASSANDRA-17428
---
 CHANGES.txt | 1 +
 build.xml   | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/CHANGES.txt b/CHANGES.txt
index df0a734..36d6064 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 3.0.27
+ * Require ant >= 1.10 (CASSANDRA-17428)
  * Disallow CONTAINS for UPDATE and DELETE (CASSANDRA-15266)
  * filter out NULL_VERSION entries from peers table in ConfiguredLimit 
(CASSANDRA-16518)
  * Suppress inapplicable CVEs (CASSANDRA-17368)
diff --git a/build.xml b/build.xml
index a8fcaa6..808a4c9 100644
--- a/build.xml
+++ b/build.xml
@@ -18,6 +18,15 @@
          xmlns:artifact="antlib:org.apache.maven.artifact.ant"
          xmlns:if="ant:if"
          xmlns:unless="ant:unless">
+
+    <fail message="You need to use Ant of version at least 1.10 to continue.">
+      <condition>
+        <not>
+          <antversion atleast="1.10"/>
+        </not>
+      </condition>
+    </fail>
+
     <property environment="env"/>
     <property file="build.properties" />
     <property file="build.properties.default" />

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to