【ANT】description元素和属性

 1 <?xml version="1.0" ?>
 2 <project default="test">
 3     <description>
 4         description element and attribute
 5         <!--description单词勿拼错-->
 6     </description>
 7     <target name="test" description="demo description element and attribute">
 8         <!--and不能用&代替-->
 9     </target>
10 </project>

运行结果:

C:\Users\xiongjiawei\Desktop\ing\ant_demo>ant
Buildfile: C:\Users\xiongjiawei\Desktop\ing\ant_demo\build.xml

test:

BUILD SUCCESSFUL
Total time: 0 seconds

posted @ 2017-03-09 19:08  xiongjiawei  阅读(862)  评论(0编辑  收藏  举报