开发者

Grails create-app does not produce build.xml?

It is said here that grails create-app should produce a bu开发者_如何学Cild.xml for ant or maven. However it does not (at least in version 1.3.7). How can I build it with ant?


In order to allow your project to be built with ant you must tell it to integrate with ant. Use the following grails command from your project directory to do so.

grails integrate-with --ant 


With net-beans ide you can run grails command throw the right click option of your project root folder, and select "run/debug grails command...". Choose "integrate-with" command and put "--ant" as an argument.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜