开发者

Grails install-plugin destination folder

开发者 https://www.devze.com 2023-01-10 08:15 出处:网络
Is there a way to customize the directory where \"grails install-plugin\" installs a plugin? The point is, I upgraded from 1.0.3 to 1.3.3 and the destination dir has changed from the current to the g

Is there a way to customize the directory where "grails install-plugin" installs a plugin?

The point is, I upgraded from 1.0.3 to 1.3.3 and the destination dir has changed from the current to the grails working dir, but our app relies on the plugin being in the current dir.

I'd assume I can change the script in the grails dir, but that would be unportable solution - we'd have to change these script开发者_StackOverflow社区s on every machine where grails is used.


Edit BuildConfig.groovy (copy one from a new empty project if you didn't already) and add the property

grails.project.plugins.dir = 'plugins'

and it'll work like it did in 1.0.x

0

精彩评论

暂无评论...
验证码 换一张
取 消