I try to running a grails application in production mode, I see the tutorial in Grails homepage, but I don't have the selectable "configuration Type".
I have a Grails Script parameter field, try to use "production word", but it change nothing ; always in development mode. An idea to force "production mode" with intelliJ IDEA ?
Thanks
Note : using IDEA 8.1.3.
If you are doing it via a Run Configuration you can add -Dgrails.env=prod
in the VM parameters section. If you're using the Run Grails Script command I don't think there is anyway to do it.
You should try out the latest EAP, it has better run support than the old 8.1 version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With