Use the Ant WAR task to create a Web archive (WAR) file.
使用Ant WAR任务创建一个Webarchive (WAR)文件。
The Nature Conservancy has declared war on a multitude of invasive species here, from sheep to plants to the aggressive Argentine ant.
大自然保护协会还向众多入侵物种发起了宣战,从羊群到植物,再到具有攻击性的阿根廷蚁。
Looking at the Grails directory structure, it would not be too hard to write an Ant script to do this, but luckily, Grails make it even easier by providing a simple Grails command: war.
查看一下Grails目录结构,编写一个ant脚本完成此工作不会很难,但是更幸运的是,Grails提供了一个简单的Grails命令war,可以让您更轻松地完成此工作。
Finally, in step 4 (Listing 6), you use the Ant task to create a WAR file.
最后在第4步(清单6)中,使用Ant任务创建一个WAR文件。
To start up the sample application, run Ant [REF] and build the WAR target, then copy it to your Tomcat webapps directory and start Tomcat.
启动示例应用程序的方法是,运行Ant [REF]并构建WAR目标,然后把它复制到Tomcatwebapps目录并启动 Tomcat。
We then created an Ant script to take the project, WAR it back up, and then unzipped it, expanding it back in place over the existing file system.
然后创建一个支持WAR的ant脚本来获取项目,再进行解压,在现有文件系统之上扩展该文件。
You use the Ant script in Listing 12 to place the portlet WAR files in the appropriate directory.
可以使用清单12中的ant脚本来将PortletWAR文件放到恰当的目录中。
Alternatively, you can check out the sources from Subversion, and then run ant war-demo to generate the JARs and WARs.
你也可以从Subversion上获得源代码,然后运行ant war -demo togenerate theJARs and WARs。
Alternatively, you can check out the sources from Subversion, and then run ant war-demo to generate the JARs and WARs.
你也可以从Subversion上获得源代码,然后运行ant war -demo togenerate theJARs and WARs。
应用推荐