ant cpoy语句

<copy todir="${app.upgrade}/pkg/" failonerror="false">
               <fileset dir="${artifacts}">
                  <include name="${run.basename}*.tar.gz" />
               </fileset>
</copy>
          <exec dir="${app.upgrade}" executable="cmd.exe" failonerror="false">
            <arg line="/c build_Run.bat" />
          </exec>
<copy file="${app.upgrade}/DIST/${version}_Linux_Upgrade.tar.gz" tofile="${artifacts}/${version}_Linux_Upgrade_${times}.tar.gz"/>

<if>
        <and>
          <available file="Carrier/${poins}/db"/>
        </and>
        <then>
          <copy todir="${db.temp}" failonerror="false">
            <fileset dir="Carrier/${poins}/db"/>
            </copy>
        </then>
        </if>

你可能感兴趣的:(ant)