I’m a newbie of Grails Plugin.
- what’s the difference between compile and build step?
- where’s the doc of plugins node,
- what’s the mean of export?
- how can I force to auto install another plugin? If I install a plugin in my plugin, can It be used in the main app which installed my plugin?
- what’s the difference between config plugin in BuildConfig.groovy and application.properties?
Thanks
grails compilecompiles the code, not sure what exactly you mean by “build step”what do you mean by “plugins node”? The Grails plugins website is here.
no idea, where have you seen it used?
you can unintall a plugin by running
grails uninstall-plugin <plugin name>if app A depends on plugin P1 and P1 depends on plugin P2, then if P1 is installed in A, then P2 is normally also available to A. However, it is possible to exclude transitive plugin dependencies.
They are both configuration files, but only
BuildConfig.groovyshould be edited – you can think ofapplication.propertiesas being Grails` internal config file.The only overlap between the two is that either may be used to specify plugin dependencies. In older versions of Grails,
application.propertieswas the only place where plugin dependencies could be specified. In Grails 1.2.X (or thereabouts)BuildConfig.groovywas introduced as the preferred place to specify plugin dependencies, butapplication.propertiesis still supported.