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:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 11:51 AM > To: Ant Users List > Subject: Re: ChainableReader behavior > > > ----- Original Message ----- > From: "didge" <[EMAIL PROTECTED]> > > > > > From: Kief Morris [mailto:[EMAIL PROTECTED]] > > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
