<!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0; mso-font-charset:2; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} @font-face {font-family:"/@宋体"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; font-size:10.5pt; mso-bidi-font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:宋体; mso-font-kerning:1.0pt;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} -->
< project name = "mytest dtalent" default = "default" >
name 表示在 ant 列表中将显示的名字, default 为默认执行操作,对应配置文件中的 target 标签
< property name = "tomcat_home" value = "D:/Tomcat5.5" />
< property name = "app_home" value = "${tomcat_home}/dtalent" ></ property >
property 为在 ant 配置文件件设置的参数,可以通过 ${name} 来使用设置的值
< target name = "deploy_dframe_web" >
< copy todir = "${app_home}/dframe" >
拷贝操作,指定目标地址
< fileset dir = "${dframe_web}" >
包含的源地址
< include name = "**/*.*" />
包含的文件
</ fileset >
</ copy >
< delete includeemptydirs = "true" >
删除操作
< fileset dir = "${app_home}" ></ fileset >
删除的源地址
</ delete >
< mkdir dir = "${app_bin}" />
创建文件夹,指定目录
</ target >
target->>name 为使用时显示的操作节点名
<target name="default" depends="deploy_dframe,deploy_dap,copy_dtalent"></target>
depends- à > 操作包含的子操作
</project>