Apache Lucene open-source search software
Update Javadoc comment to mention gradle instead of ant (#12201)
Usman Shaikhbed07c6b0242
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex c14901b7c79..4d5bd225f6f 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -199,6 +199,11 @@ Build* GITHUB#12215: Upgrade forbiddenapis to version 3.5. This tones down some verbose warningsprinted while checking Java 19 and Java 20 sourcesets for the MR-JAR. (Uwe Schindler)+Documentation+---------------------++* GITHUB#10633: Update javadocs in TestBackwardsCompatibility to use gradle and not ant. (Usman Shaikh)+Other---------------------diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.javaindex 9eeebeefc62..c02bdbe44a0 100644--- a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java+++ b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java@@ -147,11 +147,12 @@ public class TestBackwardsCompatibility extends LuceneTestCase {//// -----//- // To generate backcompat indexes with the current default codec, run the following ant command:- // ant test -Dtestcase=TestBackwardsCompatibility -Dtests.bwcdir=/path/to/store/indexes- // -Dtests.codec=default -Dtests.useSecurityManager=false+ // To generate backcompat indexes with the current default codec, run the following gradle+ // command:+ // gradlew test -Ptests.bwcdir=/path/to/store/indexes -Ptests.codec=default+ // -Ptests.useSecurityManager=false --tests TestBackwardsCompatibility// Also add testmethod with one of the index creation methods below, for example:- // -Dtestmethod=testCreateCFS+ // -Ptestmethod=testCreateCFS//// Zip up the generated indexes://@@ -227,8 +228,8 @@ public class TestBackwardsCompatibility extends LuceneTestCase {Thread.sleep(100000);}- // ant test -Dtestcase=TestBackwardsCompatibility -Dtestmethod=testCreateSortedIndex- // -Dtests.codec=default -Dtests.useSecurityManager=false -Dtests.bwcdir=/tmp/sorted+ // gradlew test -Ptestmethod=testCreateSortedIndex -Ptests.codec=default+ // -Ptests.useSecurityManager=false -Ptests.bwcdir=/tmp/sorted --tests TestBackwardsCompatibilitypublic void testCreateSortedIndex() throws Exception {Path indexDir = getIndexDir().resolve("sorted");