ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Concatfilter issue
Date Tue, 24 Aug 2004 16:54:41 GMT
I'll bet you're right.  This would be due to the fact
that the redirector code uses StreamPumpers, which
swallow Exceptions.  I'll have to take a look at what
can be done here.

-Matt

--- Peter Reilly <peterreilly@apache.org> wrote:

> Ah,
> this then is an issue with redirector.
> 
> Peter
> 
> Dick, Brian E. wrote:
> 
> >Something like the following. The file
> "appendfile.in" did not exist.
> >
> >      <exec executable="myexe">
> >         <redirector>
> >            <inputmapper type="merge"
> to="file.in"/>
> >            <inputfilterchain>
> >               <concatfilter
> append="appendfile.in"/>
> >            </inputfilterchain>
> >         </redirector>
> >      </exec>
> >
> >-----Original Message-----
> >From: Dominique Devienne [mailto:DDevienne@lgc.com]
> 
> >Sent: Tuesday, August 24, 2004 11:43 AM
> >To: Ant Users List
> >Subject: RE: Concatfilter issue
> >
> >
> >  
> >
> >>From: Dick, Brian E. [mailto:Brian.Dick@FMR.com]
> >>
> >>FYI. The concatfilter does not fail if the file
> does not exist. I
> >>expected a fail when the file does not exists.
> Maybe the concatfilter
> >>needs a "optional" attribute similar to import.
> >>
> >>I added available and fail tasks as a workaround.
> >>    
> >>
> >
> >Can you show us how you use it? If you use a
> <fileset> to specify which
> >files to concatenate, it finds only existing files.
> If you use
> ><filelist>
> >(I assume <concat> supports it), all files must
> exist. --DD
> >
>
>---------------------------------------------------------------------
> >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
> 
> 



		
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com

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


Mime
View raw message