I know two ways to try and accomplish this with filterchains. 1. Copy a file to itself (I tried this a few months ago land it didn't work, havn't tried it recently). If this works now there probably isn't any good reason for my task to be included, except that the semantics of copying a set of files back to itself might be confusing to some users, and I can't imagine what the code would have to look like. Actually I'm not even sure how this would work currently if it's implemented at all. I suspect that it still throws an error when tried.
2. Move a file to a temp directory and move it back. I have a strong hunch that this is a lot slower than the approach my task uses, all that disk IO probably takes awhile. Further questions/comments are greatly appreciated. ------------------------- Kevin Baribeau Programmer/Analyst Point2 Technologies Inc. www.point2.com ------------------------ On 4/19/05, Paul Stovell <[EMAIL PROTECTED]> wrote: > I'm no expert but I'm pretty sure this would have been possible with filter > chains? That said, Ants replace task does look simpler than using > filterchains, so I for one would appreciate it being added to NAntContrib.:) > > Nice one Kevin! > > > On 4/20/05, kevin baribeau <[EMAIL PROTECTED]> wrote: > > Hey guys, > > > > I had a need for a task like Ant's replace for NAnt, so I wrote a very > > simple one. I'm thinking that it could be of use to others as well. > > Are there any chances of it getting included in the project? > > > > I've attached the file containing the task, it builds with the latest > > NAntContrib from cvs if placed in the src\Tasks directory. > > > > > > ------------------------- > > Kevin Baribeau > > Programmer/Analyst > > Point2 Technologies Inc. > > www.point2.com > > ------------------------ > > > > > > > > > > -- > Paul Stovell > Email: [EMAIL PROTECTED] > Phone: 0432 713 510 ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ NAntContrib-Developer mailing list NAntContrib-Developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer