ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "didge" <di...@foundrylogic.com>
Subject RE: ChainableReader behavior
Date Fri, 31 Jan 2003 23:19:19 GMT
Magesh,

Can you explain when chain() would be called for a ChainableReader?  At
least in my implementation, it never seems to get called...

thanks!

didge

> -----Original Message-----
> From: Magesh Umasankar [mailto:umagesh@apache.org]
> Sent: Friday, January 31, 2003 11:51 AM
> To: Ant Users List
> Subject: Re: ChainableReader behavior
>
>
> ----- Original Message -----
> From: "didge" <didge@foundrylogic.com>
>
>
> > > From: Kief Morris [mailto:kief@kief.com]
> > > I'm trying to figure out the behavior of ChainableReader
> implementations
> > > under copy type tasks. In particular, it seems that the Reader has its
> > > initialize() method called for each file being copied, which
> is leading
> > > to some deeper problems. Is this the correct behavior?Kief,
> >
> > Kief,
> >
> > Ouch, this is not the way that I thought filterchains were
> created, but it
> > appears that so.  I thought that each filter in a chain was
> first created,
> > then initialized, just once for a given task.  But in fact, it
> looks like
> > the entire chain is created, initialized and then discarded for
> each file
> > processed, which for VPP, incurs a lot of overhead.
> >
> > Anyone,
> >
> > Is there anyway that the filterchain can be reused within a task?
>
> If patched, yes ;-)
>
> Please send in a patch that would retain current behavior as well
> as add the enhancement you are seeking - that of being able to
> reuse a filterchain within a task.
>
> > didge
>
> Cheers,
> Magesh
>
> ************************************************
> *  Office: A place where you can relax after   *
> *  your strenuous home life.                   *
> ************************************************
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-user-help@jakarta.apache.org
>
>


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


Mime
View raw message