Hacking Grails Source Day 3 (Where I Realize The Perils Of Not Clearing The Ivy Cache After Building)
My last post provided a recipe for downloading and modifying the Grails sources. I wrote that post immediately after I managed to get my deliberately introduced hack (an exception that stopped page rendering in its tracks) to manifest itself. Next I modified the hacked source slightly (changing the message passed to the RuntimeException constructor), and I got a little surprise: none of my changes seemed to take effect. Read the rest of this entry »
Building Grails 1.3.X from Source
I ran into a roadblock with GORM recently and I decided to try my hand at modifying the Grails sources to test out a possible fix. More on that later (if I get it to work.) For now, I figured I’d post a simple recipe the will enable you to (a) quickly build Grails from where it lives on github, and (b) start modifying the sources. Read the rest of this entry »
Setting up Intellij to Debug Into Grails / Spring / Acegi 3rd Party Source
While working on a project that made use of the Grails Acegi (Spring Security) plug-in I ran into some snags setting up my IDE so that I could debug into all the third-party source (including that of Grails, Spring and all of Spring’s dependent projects.) Read the rest of this entry »
When should we use the Grails flash ?
Recently one of my clients asked me when it was appropriate to use the Grails flash for storage. I mumbled something about how you should use it when you needed to store some information that lives beyond the current request, but only as long as the next request. Read the rest of this entry »
