APPFUSE Document (2) - ANT Task for AppFuse

xiaoxiao2021-03-06  40

APPFUSE ANT Task

This Page Contains a Listing of the MOST Common Ant Targets in Appfuse That I Use in My Daily Development. For a completion list of tasks, type "ant-projecthelp" At the Command Line.

task

description

Setup

Establish Database, configure Tomcat and Deploys Expanded War

Clean

Removes Build Artifacts

Compile

Compile all files

DEPLOY

Compile, then deploy to Tomcat

Deploy-web

Deploy JSP and static web content to Tomcat

INSTALL

Install the web program with Tomcat's Manager program. It is suitable for deployment procedures to remote servers.

List

List Tomcat has been installed, deployed

Refresh

Undeploys, Cleans, and then redeploy.

Reload

Make Tomcat to reload all programs

Remove

Delete Tomcat deployed programs

SETUP-DB

Create a database and insert the data required for example

Setup-Tomcat

Copy JDBC driver and context.xml to Tomcat's corresponding directory

TEST-ALL

Run all test cases for testing DAO, Service, and Web

Test-Dao

Test DAO module

Test-Service

Test service module

TEST-Web

Test Action / Controller using Mocks (no container)

TEST-JSP

Run Canoo Webtest in Tomcat (start / stop Tomcat, the time before execution Tomcat should be stopped)

Test-Canoo

When Tomcat has run, execute Canoo WebTest

Test-Reports

Generate test report

Undeploy

Remove the WAR file and the corresponding directory from $ CATALINA_HOME / WebApps

转载请注明原文地址:https://www.9cbs.com/read-54395.html

New Post(0)