首页 > 其他 > 详细

ant学习之echo

时间:2014-10-28 12:00:20      阅读:366      评论:0      收藏:0      [点我收藏+]
<?xml version="1.0" ?>
<project name="antCopy" default="target1" basedir="../">
    <target name="target1">
        <mkdir dir="E:/workspace/AntDemo/ant/test/mkdirtest/test01"/>
        <echo message="echo message"></echo>
        <echo file="E:/workspace/AntDemo/ant/test/mkdirtest/log1.txt" />
        <echo message=" mkdir mkdirtest" file="E:/workspace/AntDemo/ant/test/mkdirtest/log.txt"></echo>
        <echo message="message2" file="E:/workspace/AntDemo/ant/test/mkdirtest/log.txt" append="true" level="info"></echo>
    </target>
</project>

<!--
echo 命令
    该任务的作用是根据日志或监控器的级别输出信息。它包括 message 、 file 、 append 和 level 四个属性
-->

ant学习之echo

原文:http://www.cnblogs.com/jfzh/p/4056242.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!