[ https://issues.apache.org/jira/browse/LUCENE-5755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049180#comment-14049180 ]
Dawid Weiss commented on LUCENE-5755: ------------------------------------- RandomizedRunner and Ant's launcher for randomized testing are two different things. The launcher for Ant does more things than just isolate/ fork the subprocess JVM. See here for an overview. http://labs.carrotsearch.com/download/randomizedtesting/2.1.2/docs/junit4-ant/Tasks/junit4.html {code} java.lang.RuntimeException: Suite class org.apache.lucene.util.TestVirtualMethod$TestClass1 should be public {code} You need to filter out nested classes from the pattern; these are not tests. I'm not saying gradle's test runner cannot be used -- it probably can be -- but you'll lose some of the functionality specifically written for Lucene (such as load balancing, cwd isolation or master seed propagation). > Explore alternative build systems > --------------------------------- > > Key: LUCENE-5755 > URL: https://issues.apache.org/jira/browse/LUCENE-5755 > Project: Lucene - Core > Issue Type: Task > Reporter: Dawid Weiss > Assignee: Dawid Weiss > Priority: Minor > > I am dissatisfied with how ANT and submodules currently work in Lucene/ Solr. > It's not even the tool's fault; it seems Lucene builds just hit the borders > of what it can do, especially in terms of submodule dependencies etc. > I don't think Maven will help much too, given certain things I'd like to have > in the build (for example collect all tests globally for a single execution > phase at the end of the build, to support better load-balancing). > I'd like to explore Gradle as an alternative. This task is a notepad for > thoughts and experiments. > An example of a complex (?) gradle build is javafx, for example. > http://hg.openjdk.java.net/openjfx/8/master/rt/file/f89b7dc932af/build.gradle -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org