grails-angular-scaffolding
grails-angular-scaffolding copied to clipboard
Fixed issue #37, NullPointerException when generating views
Fix for https://github.com/robfletcher/grails-angular-scaffolding/issues/37. I installed the plugin as an inplace plugin and fixed issues #37! There were two problems with the plugin when running from my system.
- The first problem was on scripts/_NgGenerate.groovy:4 that
scaffoldingPluginDir
was provided as a string and it was supposed to accessing a variable. - The second problem was causing NullPointerException on every line that
cp
was accessed. The variable wasn't being set properly. First thing the name of the plugin for hibernate had to have the version appended and (I couldn't figure out why,) butcp
wasn't being bind properly