ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: Copy command between Ant 1.3 and 1.4
Date Sat, 08 Dec 2001 00:04:06 GMT
I haven't looked at the differences between the two versions, but a sure fix
is to use <exclude name="ext/**"/>

I think even "ext/" (trailing slash) will do the trick.

    Erik


----- Original Message -----
From: "Joylene Nettleton" <joylene.nettleton@peregrine.com>
To: <ant-user@jakarta.apache.org>
Sent: Friday, December 07, 2001 5:20 PM
Subject: Copy command between Ant 1.3 and 1.4


> 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>
>
>


--
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