tomdcc / grails-miniprofiler

Miniprofiler plugin for Grails
Other
16 stars 4 forks source link

fix "grails.profiler.disable" configuration #4

Closed yamkazu closed 11 years ago

timbonicus commented 11 years ago

I came across this while looking for a way to disable the profiler plugins in the test environment, since it causes problems with duplicate bean definitions.

Without this fix, here's another solution:

environments {
    test {
        grails.plugin.excludes = "profiler,miniprofiler"
    }
}
tomdcc commented 11 years ago

Oops. I merged another commit that the change to the plugin but not the taglib. I'll add the taglib fix manually. Thanks very much for the fix, sorry for the delay in merging it.