`
抛出异常的爱
  • 浏览: 620654 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Ant任务

阅读更多

AppFuseAnt任务

This page contains a listing of the most common Ant targets in AppFuse that I use in my daily development. For a complete list of tasks, type "ant -projecthelp" at the command line.

任务
描述

setup

建立database, 配置tomcatdeploys expanded war

clean

Removes build artifacts

compile

编译所有的文件

deploy

编译、然后部署到Tomcat

deploy-web

部署JSP和静态Web内容到Tomcat

install

使用TomcatManager程序安装Web程序.
对于向远程服务器上部署程序很适合

list

列出Tomcat已经安装、部署好的应用

refresh

Undeploys, cleans, 然后重新部署.

reload

使Tomcat重新装载所有程序

remove

删除Tomcat部署好的程序

setup-db

创建数据库,并插入范例需要的数据

setup-tomcat

复制JDBC驱动和context.xmlTomcat相应目录下

test-all

运行所有用于测试dao, serviceweb的测试用例

test-dao

测试dao模块

test-service

测试service模块

test-web

使用Mocks测试Action/Controller (不需要容器)

test-jsp

Tomcat中运行Canoo WebTest (启动/停止Tomcat, 执行前Tomcat应该被停止)

test-canoo

Tomcat已经运行时,执行Canoo WebTest

test-reports

产生测试报告

undeploy

$CATALINA_HOME/webapps中删除war文件和相应的目录

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics