`

ant 执行 exec方法

 
阅读更多

<project default="all" name="deploy">

    <target name="cp">

        <!--<scp todir="" file=""></scp>-->

      <exec  executable="mkdir" output="./log.log">

         <arg line=" test"/>

     </exec>

      <exec  executable="tar" output="./log.log">

         <arg line="  -cvf test.tar test"/>

     </exec>

  </target>

</project>

在linux中

executable 中地接写命令

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics