<?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 四个属性
-->

相关文章:

  • 2021-08-16
  • 2022-01-20
  • 2021-11-20
  • 2021-12-22
猜你喜欢
  • 2021-11-20
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-06-23
相关资源
相似解决方案