[ 
https://issues.apache.org/jira/browse/LUCENE-9433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159742#comment-17159742
 ] 

Dawid Weiss commented on LUCENE-9433:
-------------------------------------

{quote}bq. My biggest issue was that tests take much longer with Gradle than 
with Ant on a 32 core machine. 
{quote}
Please be specific (and file an issue). Is this from a clean state? Is this 
using load-balancing stats from previous runs? How large is the difference? How 
many Gradle workers are allowed (the default, something else?).
{quote}bq. can we send PRs to get ASM or similar versions updated in gradle, so 
it is more responsive?
{quote}
ASM is written by folks who actively contribute to the JDK so I guess it's 
fairly up to date all the time. 

I am not working for gradle but it seems like an active project - patches to 
support new versions of the JVM are issued quite early... but of course there 
will be a delay from EA JDK builds. 

I think by far the simplest way to solve this is to separate Gradle JVM from 
project JVM. So what gradle works on is independent from what is used to 
compile/ execute project's stuff. Much like IntelliJ IDEA works. Otherwise 
you're testing not just the project but also gradle, which will add another 
later of complexity.

In the most typical scenario, you'd be able to just use the same JVM. In a 
bleeding-edge JVM case (bytecode changes or something like this) you'd need to 
explicitly point at the JVM to use (via properties, for example).

 

> Remove Ant support from trunk
> -----------------------------
>
>                 Key: LUCENE-9433
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9433
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Major
>
> [~rcmuir] I think you had some objections to this, is that still the case? If 
> so let's discuss.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to