Archive for the ‘quicktip’ Category
Tuesday, June 22nd, 2010
Grails pageScope variable is available to you in Tag Libraries and GSPs and contains a wealth of state information. For instance, you can set an attribute in the model in a controller and then reference it in a TagLibrary through the pageScope variable without having to pass it through ...
Posted in grails, quicktip | Comments Off
Friday, June 18th, 2010
When dealing with corporate firewalls and proxy servers, dependency management can be a pain. With Grails 1.3.1 I recently encountered an issue resolving dependencies that were not in a maven central repository. I had already done 'grails set-proxy' and that seemed to do the trick for the majority ...
Posted in grails, quicktip | 1 Comment »
Friday, May 28th, 2010
Sometimes you need finer control over the dependencies included in your build. In BuildConfig.groovy you can exclude dependent dependencies by using the 'excludes' keyword - for example:
dependencies {
runtime (group:'org.apache.tika', name:'tika-parsers', version:'0.7'){
...
Posted in grails, quicktip | Comments Off