Does anyone know whether CodeNarc works with Java8?

(Schalk Cronjé) #1

(I understand that this might be better ask on a CodeNarc-specific forum, but as this is being used through the plugin, I thought I would start here).

I am seeing the following issue when running CodeNarc tasks from Gradle:

Executing task ‘:dsl:codenarcMain’ due to:

No history is available. Loaded properties file in 155ms; 305 rules Loading ruleset from [file:/scratch/jenkins/workspace/Groovy_VFS_DSL_Trunk_Java8_lambdas/config/codenarc/codenarc.xml] Loading ruleset from [rulesets/naming.xml] Loading ruleset from [rulesets/size.xml] Loading ruleset from [rulesets/groovyism.xml] RuleSet configuration properties file [] not found. Analysis time=13413ms :dsl:codenarcMain FAILED

FAILURE: Build failed with an exception.

  • What went wrong:

Execution failed for task ‘:dsl:codenarcMain’.

java.util.MissingResourceException: Can’t find bundle for base name codenarc-base-messages, locale en_US

I can supply the full stacktrace if someones needs more info

(Marcin Zajączkowski) #2

I have similar problem with OpenJDK when try to build Gradle from Git. It works fine with Oracle Java