Tag Archives: grails

Wanted to use the new resources plugin into our project, so started out with using it in a small applications. I just wanted to say it was very easy to use & has many features like minifying, caching & compressing the resources.

here is the journey, followed the instructions from resources plugin documentation.

first created a grails app (grails-resources). created an empty repo on github, cloned it & then created the app.

Continue reading

Get it working on local machine.

testing this on my machine.  configured nbos-grails-auth/grails-app/conf/BuildConfig.groovy to include both codecoverage plugin and codenarc plugin

    plugins {
      // Testing
      test ':code-coverage:1.2.5', {
        export = false
      }
      test ':codenarc:0.17', {
        export = false
      }
   ...
   }

run the tests

[09:24][vineeln@mob05:~/work/nbos-grails-auth(master)]$ grails test-app -coverage
....
| Cobertura Code Coverage Complete (view reports in: target/test-reports/cobertura)
Flushing results...
Flushing results done
Cobertura: Loaded information on 77 classes.
Cobertura: Saved information on 77 classes.

Continue reading

This is a part-1 of a series of how to configure and setup a complete environment (development, build & deploy) for a grails application.  The following are the various series that we would be working on ..

Continue reading