So I'm glad we have a fix for this, but it's making me realize that any new joiner that uses intellij (probably most of them?) will have this problem and have no idea what to do about it. They will just conclude - running Lucene tests in intellij sucks. If we revived that intellij target maybe that would help - but .. you would have to know to run it! So then I went to look at our project web page to see what kind of developer docs we have that a new contributor might find.
The first place Google sent me was to our github page https://github.com/apache/lucene/?tab=readme-ov-file-- that one has some very brief description about how to build, but nothing about intellij. It does have a prominent link to "Developer documentation" which is here: https://github.com/apache/lucene/tree/main/dev-docs but that folder is mostly empty; it has a few somewhat esoteric bits of info, but again nothing basic about building and testing; no discussion of all the myriad gradle tasks and deep help info that exists there. Next I tried looking on apache.org, but actually it is quite hard to find any info about Lucene there - Apache just has too many projects. I did finally find this page though https://projects.apache.org/project.html?lucene-core and it links to https://lucene.apache.org/core/. From there, I see a "Developer" link, again this page has a paucity of info; basically it links you to github, jenkins, and to the wiki. The "wiki" link actually just takes you to a different github page -- and *this* one actually has some useful info on how to build -- I think it's our best "intro" page for a new developer. However all it says about IntelliJ is: "IntelliJ - IntelliJ idea can import and build gradle-based projects out of the box." true, sort of. So I think I will (1) add a note about this IJ build setting to that page, and (2) consolidate some of the other links to go here instead of routing folks through a twisty maze of web pages On Fri, Jun 7, 2024 at 7:45 AM Stefan Vodita <stefan.vod...@gmail.com> wrote: > > +1, I had the same problem and it seems better now. Thank you, Dawid! > > On Thu, 6 Jun 2024 at 12:20, Michael Sokolov <msoko...@gmail.com> wrote: >> >> Oh! TIL! so much better, thanks. And now I have the "Repeat" option >> back in the test runner >> >> On Thu, Jun 6, 2024 at 6:18 AM Dawid Weiss <dawid.we...@gmail.com> wrote: >> > >> > >> > Don't know what's causing this... but I never run IntelliJ builds or tests >> > through its gradle launcher, actually. Switch it to compile and run using >> > its own built-in method - much faster. >> > >> > >> > >> > Dawid >> > >> > On Thu, Jun 6, 2024 at 12:10 PM Michael Sokolov <msoko...@gmail.com> wrote: >> >> >> >> Hi, I wonder how many of us are using intellij to run Lucene tests, and >> >> if you are, have you noticed it having gotten really quite slow? It seems >> >> to take a long time doing... Something... Before the test starts running. >> >> I have a suspicion that we are using gradle in a way that forces it to >> >> rebuild its cache every time or something like that. Once upon a time we >> >> had an intellij build setup target that set things up in a more intellij >> >> friendly way, according gradle, didn't we? Does that still exist? >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> For additional commands, e-mail: dev-h...@lucene.apache.org >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org