Re: [NAnt-users] Writing Your Own Task that Uses a FilterChain

2010-04-10 Thread Ryan Boggs
Hi Jonathan, That's the problem. NAnt.Core.Filters.PhysicalTextReader is an Internal Class to that Namespace. You are not going to get access to that Class in its current state I'm afraid. That said, I'm wondering if this should be changed in the future so other projects could take advantage of

Re: [NAnt-users] Writing Your Own Task that Uses a FilterChain

2010-04-10 Thread jnewton
Hi Ryan, Yeah, I get an error saying Error 2 'NAnt.Core.Filters.PhysicalTextReader' is inaccessible due to its protection level This sorta makes sense to me but I'm not sure how to get around it or do it properly. So I guess what I am really asking is whats the best way to apply a filt

Re: [NAnt-users] Writing Your Own Task that Uses a FilterChain

2010-04-10 Thread Ryan Boggs
Hi Jonathan, Are you receiving any error messages with this code that you can share? Thanks, Ryan On Sat, Apr 10, 2010 at 9:33 AM, jnewton wrote: > > I'm trying to write my own "write" task that uses a filterchain. I want to be > able to write to a file (i.e. I am creating an xml file) and repl

[NAnt-users] Writing Your Own Task that Uses a FilterChain

2010-04-10 Thread jnewton
I'm trying to write my own "write" task that uses a filterchain. I want to be able to write to a file (i.e. I am creating an xml file) and replace some strings in the process using the replacestring filter. I am basing my code off of the CopyTask but I can't seem to figure out how to use the Physi