Update Javadoc comment to mention gradle instead of ant (#12201)

This commit is contained in:
Usman Shaikh 2023-04-19 06:14:19 +01:00 committed by GitHub
parent 08f30f82b4
commit bed07c6b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 6 deletions

View File

@ -199,6 +199,11 @@ Build
* GITHUB#12215: Upgrade forbiddenapis to version 3.5. This tones down some verbose warnings
printed 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
---------------------

View File

@ -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 TestBackwardsCompatibility
public void testCreateSortedIndex() throws Exception {
Path indexDir = getIndexDir().resolve("sorted");