joergrech/KickstartWithBootstrap — pull request #39 by csherstan (2013-06-05 21:33:24+00:00)
Title: Reworking how spring resources are processed. Upgrade to use lesscss-resources plugin 1.3.3

Dependency injection for customPropertyEditorRegistrar was being handled by directly copying a copy of resources.groovy into the project using the kickstart script. An improved way to do this in a plugin is setup your dependency injection in the doWithSpring closure of your plugin file (KickstartWithBootstrapGrailsPlugin). This way we do not need to copy files in and potentially clobber things in the existing resources.groovy.

In order to do this CustomDateEditorRegistrar could not be in the default package. I refactored all the code to put src files in the com.joergrech.kickstartwithbootstrap package (this is the recommended style of package names). Note that the default, no package, should generally not be used.

Additionally, lesscss-resources has now been upgraded to use less-css:1.3.3 and I have updated BuildConfig.groovy accordingly.

Finally, there were several places where the deprecated ApplicationHolder was being used. I removed those references and replaced them with preferred methods of obtaining the various resources.