lucene-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (Jira)" <>
Subject [jira] [Commented] (SOLR-13452) Update the lucene-solr build from Ivy+Ant+Maven (shadow build) to Gradle.
Date Mon, 04 Nov 2019 21:34:00 GMT


Varun Thacker commented on SOLR-13452:

What do others get when they try running {{gradle test}}?


I am running into this

 ~/apache-work/lucene-solr (jira/SOLR-13452_gradle_8) $ gradle test
Task :lucene:lucene-backward-codecs:test FAILED access denied ("java.util.logging.LoggingPermission"
        at java.base/
        at java.base/
        at java.base/java.lang.SecurityManager.checkPermission(
        at java.logging/java.util.logging.LogManager.checkPermission(
        at java.logging/java.util.logging.LogManager.reset(
        at org.gradle.internal.logging.source.JavaUtilLoggingSystem.install(
        at org.gradle.internal.logging.source.JavaUtilLoggingSystem.startCapture(
        at access denied ("java.util.logging.LoggingPermission"
Uncommenting this line from tests.policy and solr-tests.policy didn't help

permission java.util.logging.LoggingPermission "control";{noformat}

And just got kicks I removed this line from the build.gradle file and the tests started running
ext.testsPolicy = "${rootDir}/lucene/tools/junit4/tests.policy"{noformat}
I'm going to look into it but curious if others ran into similar issues?



> Update the lucene-solr build from Ivy+Ant+Maven (shadow build) to Gradle.
> -------------------------------------------------------------------------
>                 Key: SOLR-13452
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Major
>             Fix For: master (9.0)
>         Attachments: gradle-build.pdf
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
> I took some things from the great work that Dat did in []
and took the ball a little further.
> When working with gradle in sub modules directly, I recommend []
> This gradle branch uses the following plugin for version locking, version configuration
and version consistency across modules: []

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message