mirror of https://github.com/apache/lucene.git
Don't log warnings from ant (different class loader, I guess). Makes Alan happier.
This commit is contained in:
parent
651755aab7
commit
1029651d12
|
@ -139,6 +139,7 @@ class RatTask extends DefaultTask {
|
|||
def generateReport(File reportFile) {
|
||||
// Set up ant rat task.
|
||||
def ratClasspath = project.rootProject.configurations.ratDeps.asPath
|
||||
ant.setLifecycleLogLevel(AntBuilder.AntMessagePriority.ERROR)
|
||||
ant.taskdef(resource: 'org/apache/rat/anttasks/antlib.xml', classpath: ratClasspath)
|
||||
|
||||
// Collect all output files for debugging.
|
||||
|
|
Loading…
Reference in New Issue