views:

25

answers:

1

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 scripts on every machine where grails is used.

+2  A: 

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

Burt Beckwith