ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kavanagh <dkavan...@gmail.com>
Subject Re: Copy task (with filter) mucho verboso?
Date Fri, 30 Apr 2004 21:34:06 GMT
Huh... I used a <filterset> and don't get that kind of output.
i.e.
<filterset>
  <filter token="blah" value="${blah}"/>
</filterset>

Give that a try

David

On Thu, 29 Apr 2004 08:34:27 -0700, John Lindwall <jlindwall@xifin.com> wrote:
> 
> It seems like the copy task has gotten extra chatty in 1.6.1, at least when a filter
is used.  For each replaced token I get a message to the output as seen below.  How can I
suppress this output?  Putting the attribute verbose="false" on the copy task didn't help.
> 
> My task definition is below.
> 
> Thanks!
> 
> customize-scripts:
>      [copy] Copying 9 files to D:\database
>      [copy] Replacing: @DB_USER@ -> XUTTJL
>      [copy] Replacing: @DB_PASSWORD@ -> XUTTJL
>      [copy] Replacing: @DB_USER@ -> XUTTJL
>      [copy] Replacing: @DB_USER@ -> XUTTJL
>      [copy] Replacing: @DB_USER@ -> XUTTJL
>      [copy] Replacing: @DB_USER@ -> XUTTJL
>      [copy] Replacing: @DB_USER@ -> XUTTJL
>      [copy] Replacing: @DB_USER@ -> XUTTJL
>      [copy] Replacing: @DB_USER@ -> XUTTJL
>      [copy] Replacing: @DB_USER@ -> XUTTJL
>      ...
> 
>   <target name="customize-scripts" description="Copies and customizes SQL Scripts">
>     <filter token="DB_USER" value="${db.user}"/>
>     <filter token="DB_PASSWORD" value="${db.password}"/>
>     <copy todir="${build.database.dir}" filtering="true">
>       <fileset dir="sql/templates">
>         <include name="*.sql"/>
>       </fileset>
>     </copy>
>   </target>
>

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


Mime
View raw message