My workflow consisted of the following steps, which have to be repeated every time:
- change some plugin code
- grails package-plugin
- grails install-plugin
- grails run-app
- check plugin changes in main app
Configure main application for your in-place plugin
You need a plugin under development and a main application where you would like to use it. There you just add the following to your BuildConfig.groovy:grails-app/conf/BuildConfig.groovy
grails.plugin.location."${pluginName}" = "${pathToYourPlugin}"
Replace the plugin name placeholder with your plugin name and the path to the root directory of your plugin. Check "Specifiying Plugin Locations" in the grails docs Creating and Installing Plugins for further information.
Example for my AdminPanelPlugin used by the AdminTest application:
grails-app/conf/BuildConfig.groovy
grails.plugin.location."AdminPanelPlugin" = "/Users/surelyplus/Documents/workspace/AdminPanelPlugin"
Even IntelliJ has great support for this, so you can see the plugin next to your main app in the Grails View.
I would like to help me to know how a plugin structure, i cant use the controller of a plugin in another plugin mi email is pnunez@estudiantes.uci.cu
ReplyDeleteIts loyalty program helps the brand stand out from the crowd. Hard Rock is a globaly brand with 카지노 사이트 lots of of properties around the globe together with cafes, casinos and resorts. Its on line casino product delivers every thing that a participant may anticipate type such a brand.
ReplyDeleteIf your components or finish product require welding becoming a member of elements Freediving Snorkel or materials together, robotic welding is the high-quality alternative on your job. This automatic welding technique can produce extremely correct, constant results in a short time frame. Sheet steel stamping is when formations are made in the steel simultaneously or utilizing a progressive die.
ReplyDelete