[NAnt-users] Output redirect problem

2006-07-22 Thread Cong
Hi,I have a output redirect problem in NAnt.I defined a custom NAnt task. Inside it, I have the following code:   TextWriter standardOut = Console.Out;   TextWriter standerdError = Console.Error;   int exitValue;   using (TextWriter newOutWriter = File.CreateText(ou

Re: [NAnt-users] Question on custom NAnt task

2006-07-15 Thread Cong
complex either. :-)Regards,Vagmi On 7/13/06, Gary Feldman < [EMAIL PROTECTED]> wrote: Cong wrote:> Hi All,>> I need to pass an array of strings from the XML-base NAnt build file > to my custom NAnt task. Can someone tell me which attribute I can use> in the C# class for the cu

Re: [NAnt-users] Question on custom NAnt task

2006-07-12 Thread Cong
Thank you, Gary. Now at least I know this is not supported by NAnt.   Besides creating custom task, is there any easy way I can reuse some code in NAnt? I always found the provided tasks can satisfy our requirements.   Shu   On 7/12/06, Gary Feldman <[EMAIL PROTECTED]> wrote: Cong wrote:&g

[NAnt-users] Question on custom NAnt task

2006-07-12 Thread Cong
Hi All,   I need to pass an array of strings from the XML-base NAnt build file to my custom NAnt task. Can someone tell me which attribute I can use in the C# class for the custom task? And it will be very helpful if you could give me a simple XML example. Hope my question is clear.   BTW, as a be