Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
据说这里应该grails create-app产生一个build.xmlfor ant or maven。但是它没有(至少在版本 1.3.7 中)。如何用蚂蚁构建它?
grails create-app
build.xml
为了让您的项目能够使用 ant 构建,您必须告诉它与 ant 集成。使用项目目录中的以下 grails 命令来执行此操作。
grails integrate-with --ant
使用 net-beans ide,您可以运行 grails 命令,然后右键单击项目根文件夹的选项,然后选择“运行/调试 grails 命令...”。选择“integrate-with”命令并将“--ant”作为参数。