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

2006-07-12 Thread Vagmi Mudumbai
Hi Yuncong,Actually it is supported by Nant.Suppose you have a task called and you would like to write the task in the following way. Value1Value2This document contains custom XML and the Task has to informed that this task has CustomXMLProcessing. You will have to override the CustomXmlProcessing

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

2006-07-12 Thread Ramya Niranjan
Hi Shu,   You could try the task to accomplish what custom tasks do. You can find a lot of information on

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:> Hi All,>

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

2006-07-12 Thread Gary Feldman
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 custom task? And it will be very helpful if > you could give me a simple XML example. Hope my questio

Re: [NAnt-users] new user question

2006-07-12 Thread Gary Feldman
Steve Whitley wrote: > project C is built often. dll's from projects in B and A are > referenced. B is built less often an A is hardly ever built. its a > cascade style build where the service in A also has references to > other projects in A, projects in B and C. the problem is that if A,

[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

Re: [NAnt-users] new user question

2006-07-12 Thread Gary Feldman
Steve Whitley wrote: > ... > solution A > solution B (depends on A) > solution C (depends on A and B) > ... > would it be better to build 1 huge build script w/ different targets for > each project or should I break build scripts for each project, and > include them in a larger build script? thier

[NAnt-users] new user question

2006-07-12 Thread Steve Whitley
I have about 4 hours of exposure to ant now under my belt. lets say I have 3 different projects that need to be built solution A solution B (depends on A) solution C (depends on A and B) solution A contains a project (windows service) that depends on a project in A, solution B and C. I'm tasked

[NAnt-users] cxx file extension

2006-07-12 Thread Ken . Rentz
When trying to come up with a test case for an earlier problem (projects with targets names differently than themselves.), I think I discovered  that the actual problem may be that NANT does not handle the .cxx file extension.  Can anyone confirm this before I go through the source code? Ken Rent

[NAnt-users] Strange error with C# properties

2006-07-12 Thread Andy Duan Nguyen
Hi everyone,I am setting up NAnt to automate my build process and currently having this problem. Please let me know if you have any suggestions to go about solving it.I use the solution task in NAnt. My solution has a project that references an OCX. The properties displayed in Object Browser like t

[NAnt-users] projects with targets names differently than themselves.

2006-07-12 Thread Ken . Rentz
I have a solution that contains a project called gctpc.  For historical and other reasons, it produces a library called gtcpcD.lib when performing a debug build.  Will this difference in name cause a problem with NANT's solution task?  For some reason, the nant does not seem to want to build this

[NAnt-users] Null literal in expressions

2006-07-12 Thread James Johnston
Hi, I am defining some custom functions. It seems that (1) NAnt does not support function overloading, and (2) I can't easily pass a null value to my functions, which would signal the function that it is to use a default value. The line in the build file: Expression: IISHelp: ${iis::vdir-exi

Re: [NAnt-users] csc task in NAnt

2006-07-12 Thread Gary Feldman
Bob Mixon [SPS MVP] wrote: > Greetings all, I have an assembly that is installed in the GAC, with a > strong keypair. When I compile this assembly in the .NET IDE, > everything work as expected and I can install it in the GAC without > incident. However, when I use the csc task to compile the as

Re: [NAnt-users] displaying custom tasks in the intellisense view.

2006-07-12 Thread Gary Feldman
Ramya Niranjan wrote: > I have created a couple of custom tasks and they are working fine. I > need to display the tasks and the corresponding attributes in the > intellisense window in VS.NET 2003 IDE. Could any one > tell me how to go about with this? Visual Studio gets the int

Re: [NAnt-users] displaying custom tasks in the intellisense view.

2006-07-12 Thread Curtis Zarger
Ramya,Below is the task that I use to set up intellisense for custom tasks, NAnt Contrib, and NAnt.                 description="Creates an XML schema describing the tasks associated with the build.                        Inputs:           tools.dir    location of NAnt build files                

Re: [NAnt-users] csc task in NAnt

2006-07-12 Thread Bob Mixon [SPS MVP]
Gert, I appreciate the response. Below is the target I have setup; which does compile the assembly without issues, it just won?t install in the GAC. The problem must be associated with the command-line compiler parameters. I tried the build with verbose output and the result contains too muc

Re: [NAnt-users] csc task in NAnt

2006-07-12 Thread Bob Mixon [SPS MVP]
Gert, I appreciate the response. Below is the target I have setup; which does compile the assembly without issues, it just won?t install in the GAC. The problem must be associated with the command-line compiler parameters. I tried the build with verbose output and the result contains too much