ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: loud substitution with ant 1.6.1
Date Tue, 15 Jun 2004 14:18:57 GMT
Yep,
this problem exists in ant 1.6.1 and does not happen with ant cvs.

A work-around for ant 1.6.1 is to place the filterset in-line:

      <copy verbose="false" file="test.in" tofile="test.out">
        <filterset>
          <filter token="JNDI_URL"                     
value="localhost:8080"/>
        </filterset>
      </copy>

Peter

Mark Lybarger wrote:

>Here's my small example.
>
>--Build.xml contents ---
><project name="copy.loud.test" default="all">
>
>	<target name="all">
>      <filter token="JNDI_URL"                     value="localhost:8080"/>
>      <copy verbose="false" file="test.in" tofile="test.out" filtering="true"/>
>
>	</target>
>
></project>
>--test.in contents
>@JNDI_URL@ TEST FILE @JNDI_URL@
>--output
>all:
>     [copy] Copying 1 file to C:\cbc\isac\ant-test
>     [copy] Replacing: @JNDI_URL@ -> localhost:8080
>     [copy] Replacing: @JNDI_URL@ -> localhost:8080
>
>
>  
>
>>-----Original Message-----
>>From: Peter Reilly [mailto:peter.reilly@corvil.com]
>>Sent: Tuesday, June 15, 2004 10:03 AM
>>To: Ant Users List
>>Subject: Re: loud substitution with ant 1.6.1
>>
>>
>>There has been some fixes in the curent ant cvs for
>>this.
>>
>>Can you post a small build file that shows
>>the problem and we will check if the
>>problem is still in ant cvs.
>>
>>Ant 1.6.2 should be coming out soon.
>>
>>Peter
>>Mark Lybarger wrote:
>>
>>    
>>
>>>this extra output seems to be something that started to 
>>>      
>>>
>>appear when moving from ant 1.5.4.  previously, i didn't see 
>>these verbose replacing messages, iirc.
>>    
>>
>>> 
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
>>>>Sent: Tuesday, June 15, 2004 9:41 AM
>>>>To: user@ant.apache.org
>>>>Subject: RE: loud substitution with ant 1.6.1
>>>>
>>>>
>>>>-quite ?
>>>>
>>>>Jan
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>-----Original Message-----
>>>>>From: Mark Lybarger [mailto:Mark.Lybarger@CBC-Companies.com]
>>>>>Sent: Tuesday, June 15, 2004 3:40 PM
>>>>>To: Ant Users List (E-mail)
>>>>>Subject: loud substitution with ant 1.6.1
>>>>>
>>>>>
>>>>>i'm using ant 1.6.1.  when doing file copies that have filter 
>>>>>substitution, i always see verbose output of what's getting 
>>>>>substituted:
>>>>>
>>>>>[copy] Replacing: @JNDI_URL@ -> t3://localhost:5204
>>>>>
>>>>>how can i turn this output off?
>>>>>
>>>>>thanks!
>>>>>~mark
>>>>>
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>---------------------------------------------------------------------
>>>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
>>
>>
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>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


Mime
View raw message