You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Duan Qiang <qd...@ilog.com.sg> on 2004/03/05 10:02:45 UTC

ant bug?

Hi,

ANT 1.6

The <fileset>, although same, perform differently in the two tasks:

    <zip destfile="templates_ext/pretrade.zip" update="true">
     <fileset dir="${pretrade}/data" includes="simulation/**/*.xml"
excludes="**/output/**/*.xml"/>
    </zip>

    <copy todir="/temp/temp">
     <fileset dir="${pretrade}/data" includes="simulation/**/*.xml"
excludes="**/output/**/*.xml"/>
    </copy>

In the first zip task, I update a file in the zip file, the excludes does
not take effect, while in the second copy task, the excludes works file.

This might be a bug?

Regards,

Duan Qiang


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


Re: ant bug?

Posted by Duan Qiang <qd...@ilog.com.sg>.
sorry, it's my mistake ;)

dq
----- Original Message ----- 
From: "Duan Qiang" <qd...@ilog.com.sg>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Friday, March 05, 2004 5:02 PM
Subject: ant bug?


> Hi,
> 
> ANT 1.6
> 
> The <fileset>, although same, perform differently in the two tasks:
> 
>     <zip destfile="templates_ext/pretrade.zip" update="true">
>      <fileset dir="${pretrade}/data" includes="simulation/**/*.xml"
> excludes="**/output/**/*.xml"/>
>     </zip>
> 
>     <copy todir="/temp/temp">
>      <fileset dir="${pretrade}/data" includes="simulation/**/*.xml"
> excludes="**/output/**/*.xml"/>
>     </copy>
> 
> In the first zip task, I update a file in the zip file, the excludes does
> not take effect, while in the second copy task, the excludes works file.
> 
> This might be a bug?
> 
> Regards,
> 
> Duan Qiang
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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