mirror of https://github.com/apache/lucene.git
Update Javadoc comment to mention gradle instead of ant (#12201)
This commit is contained in:
parent
08f30f82b4
commit
bed07c6b02
|
@ -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
|
||||
---------------------
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue