ant -projecthelp
查看工程完整任务列表命令:ant -projecthelp
appfuse complete list of tasks:
1 F:\workspace\javaee\myapp>ant -projecthelp 2 Buildfile: F:\workspace\javaee\myapp\build.xml 3 Trying to override old definition of datatype resources 4 5 Main targets: 6 7 bin creates zip file with war, jdbc drivers, and XML file 8 checkstyle Check code style for compliance with coding standards 9 clean Removes build artifacts 10 compile alias for compile-web 11 compile-dao Compile dao module 12 compile-service Compile service module 13 compile-web Compile web module 14 copy-resources Copy .properties and .xml files from source directory 15 copy-web-files Copy static files 16 db-create create database for ${database.type} 17 db-drop drops database tables 18 db-export Exports the current data in the database 19 db-load Loads the database with sample data 20 db-prepare creates database tables 21 deploy unwar into the servlet container's deployment directory 22 deploy-test-reports Deploys Generated JUnit test reports to server 23 deploy-war Deploy '${webapp.name}.war' to local Tomcat 24 deploy-web deploy only web classes to servlet container's deploy dire 25 ctory 26 dist create zip and tar.gz of entire directory for distribution 27 28 docs runs javadoc, todo, checkstyle and pmd tasks 29 emma turns on EMMA instrumentation/reporting 30 hibernatedoclet Generate Hibernate mapping files 31 init defines custom tasks 32 install Install application in Tomcat 33 java2html creates HTML pages of code for online viewing 34 javadoc Generate JavaDoc API docs 35 jsp-2 Convert JSP 1.2 tags (i.e. JSTL) to JSP 2.0 36 list List Tomcat applications 37 new creates a new project with the specified name 38 package-dao Package DAO JAR 39 package-web Package WAR 40 ping-tomcat pings tomcat to make sure it's running 41 pmd Locates unused imports, unused variables, etc. 42 prepare create target directories 43 refresh Undeploys, cleans, then re-deploys 44 reload Reload application in Tomcat 45 remove Remove application in Tomcat 46 setup Sets up database, tomcat and deploys expanded war 47 setup-db creates database and populates by calling other tasks 48 setup-tomcat copies jdbc driver and context.xml to tomcat 49 stage-web Calls other targets to gather static resources 50 start Start Tomcat application 51 start.tomcat starts tomcat in the current console window 52 stop Stop Tomcat application 53 test-all runs all tests for dao, service, web and jsp 54 test-all-running runs all tests for DAOs, Services, Controllers and JSPs 55 test-canoo Runs Canoo WebTests in Tomcat to test JSPs 56 test-dao Test dao module 57 test-jsp Runs Canoo WebTests using Cargo 58 test-reports Generate test reports 59 test-service Test service module 60 test-web Test web module 61 todo creates report of todos in code 62 undeploy undeploy war file to servlet container's deployment dir 63 war alias for package-web 64 webdoclet Generate JSP TLD and other web artifacts 65 wiki downloads files from wiki for doco 66 Default target: package-web

浙公网安备 33010602011771号