Grails 3 does not have wrapper?

Does Grails 3.0.x no longer have the ability to create wrappers anymore?

The documentation doesn't seem to have the Grails wrapper section anymore.

Is there an alternative way which we can use the gradle wrapper to execute grails commands such as create-controller?


The Grails wrapper is back as of Grails 3.2.3: http://docs.grails.org/3.2.x/guide/introduction.html#whatsNewGrailsWrapper

I have an app created with Grails 3.1.x, then upgraded to Grails 3.2.6, but the files such as 'grailsw' did not appear in my project root, and I'm not sure how to get them added via some command in the project.

When I create a new app using Grails 3.2.6, the new files are in the project root (grailsw, grailsw.bat, grails-wrapper.jar). I assume they can be copied over to an app like mine: a quick test of this worked for me.


Does Grails 3.0.x no longer have the ability to create wrappers anymore?

No.

Is there an alternative way which we can use the gradle wrapper to execute grails commands such as create-controller?

Not for commands like create-controller , no.

We may re-introduce grailsw. File a feature request at https://github.com/grails/grails-core/issues if you would like to track that.

链接地址: http://www.djcxy.com/p/25340.html

上一篇: 在Octopus期间运行实体框架迁移将CI部署到Azure

下一篇: Grails 3没有包装?