chrismair / GrailsCodeNarcPlugin

Grails CodeNarc plugin
Apache License 2.0
10 stars 5 forks source link

0.24: FileNotFoundException: File [null] does not exist or is not accessible #6

Closed chrismair closed 9 years ago

chrismair commented 9 years ago

Using the Grails CodeNarc plugin version 0.24,

Original issue opened on CodeNarc: https://github.com/CodeNarc/CodeNarc/issues/113

I upgraded to 0.24 from 0.23, no other changes, and codenarc fails in the following way:

|Compiling 356 source files
..Adding report HtmlReport
Adding report TextReport
Running CodeNarc (file:grails-app/conf/CodeNarcRules.groovy) ...
.FAILED -- java.io.FileNotFoundException: File [null] does not exist or is not accessible
chrismair commented 9 years ago

In the meantime, I was able to work around the issue by adding this to "BuildConfig.groovy":

// TODO Workaround for https://github.com/chrismair/GrailsCodeNarcPlugin/issues/6
codenarc.excludeBaseline = ''
chrismair commented 9 years ago

Fixed in Grails CodeNarc Plugin v0.24.1