ant copy file

<project name="selftask" default="docopy" basedir=".">

    <description>do copy jr to workspace</description>
    
    <target name="jr" description="do copy jr to workspace .">
            <!-- 
            <copy todir="C:/Documents and Settings/yangff/workspace/S7/bin/ec/export/resources">
                <fileset dir="C:/Documents and Settings/yangff/j/resources"/>
              </copy>
             -->
              
             <copy todir="C:/Documents and Settings/xxxxx/workspace/S7/bin/ec/export">
                <fileset dir="C:/Documents and Settings/yangff/j/one"/>
              </copy>
              <echo message=""/>
                    <echo message="***********************************"/>
                    <echo message="* copy done!        *"/>
                    <echo message="***********************************"/>
                    <echo message=""/>
    </target>
  </project>

 

posted on 2016-04-26 08:48  rojas  阅读(382)  评论(0编辑  收藏  举报