+1 - that makes sense afaict.

On Thu, Aug 1, 2024 at 8:31 AM Gus Heck <gus.h...@gmail.com> wrote:
>
> I keep having to waste time on errors like this:
>
> > Task :solr:benchmark:compileJava
> error: Annotation generator had thrown the exception.
> javax.annotation.processing.FilerException: Attempt to recreate a file for
> type
> org.apache.solr.bench.search.jmh_generated.QueryResponseWriters_query_jmhTest
>         at
> jdk.compiler/com.sun.tools.javac.processing.JavacFiler.checkNameAndExistence(JavacFiler.java:732)
>         at
> jdk.compiler/com.sun.tools.javac.processing.JavacFiler.createSourceOrClassFile(JavacFiler.java:498)
>         at
> jdk.compiler/com.sun.tools.javac.processing.JavacFiler.createSourceFile(JavacFiler.java:435)
>         at
> org.gradle.api.internal.tasks.compile.processing.IncrementalFiler.createSourceFile(IncrementalFiler.java:45)
>         at
> org.openjdk.jmh.generators.annotations.APGeneratorDestinaton.newClass(APGeneratorDestinaton.java:62)
>         at
> org.openjdk.jmh.generators.core.BenchmarkGenerator.generateClass(BenchmarkGenerator.java:448)
>         at
> org.openjdk.jmh.generators.core.BenchmarkGenerator.generate(BenchmarkGenerator.java:86)
> ... etc
>
> Does anyone object to adding this to :solr:benchmark so that clean actually
> cleans everything?
>
> clean {
>   delete "${layout.projectDirectory}/src/java/generated"
> }
>
>
> --
> http://www.needhamsoftware.com (work)
> https://a.co/d/b2sZLD9 (my fantasy fiction book)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
For additional commands, e-mail: dev-h...@solr.apache.org

Reply via email to