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:UsersxiongjiaweiDesktopingant_demo>ant
Buildfile: C:UsersxiongjiaweiDesktopingant_demouild.xml
test:
BUILD SUCCESSFUL
Total time: 0 seconds