ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joylene Nettleton <joylene.nettle...@peregrine.com>
Subject Copy command between Ant 1.3 and 1.4
Date Fri, 07 Dec 2001 22:20:44 GMT
Under my "${src.lib.dir} there are some lib files and a ext sub-directory
with some file, e.g.
   {src.lib.dir}/*.jar
   {src.lib.dir}/ext/*.jar

When I use Ant 1.3 version with the following commands, only
{src.lib.dir}/*.jar are copied to ${dest.lib.dir}.  When I use Ant 1.4
everything under {src.lib.dir} are copied over including files under ext.  I
wonder if this is a bug in Ant 1.4 since I could not find any reference in
docs.  

  <!-- Copy Lib files -->
  <target name="copy-lib-files" if="lib.present">
    <copy todir="${dest.lib.dir}">
      <fileset dir="${src.lib.dir}">
        <exclude name="ext"/>
      </fileset>
    </copy>
  </target>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message