Re: [Nant-users] Building NETCF projects

2004-09-16 Thread Gert Driesen
Hoi Frank, Alles goed ? ;-) Can you provide a small repro for this issue ? Just isolate some dummy code in a new solution/project, and make sure it also shows the same problem. Gert - Original Message - From: "Frank Vanderlinden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday

RE: [Nant-users] Solution Task and C++ Project configuration -- EHsc

2004-09-16 Thread Jeff McMahon
Hey Gert, I spent the whole day yesterday trying to figure out the problem -- and after recompiling Nant with my own logging inserted in several places many, many times I was able to show that Nant was not recognizing many of the options that were supposed to be present in the project fil

[Nant-users] FileFunctions Class

2004-09-16 Thread Devin Grant
  Can somebody please add a new function call “get-text” to the FileFunctions class?   Example: [Function("get-text")] public string GetText(string fileName) {   string text = "";     if (File.Exists(fileName)) text = GetTextFromFile(fileName);     return text; }   pri

[Nant-users] Building NETCF projects

2004-09-16 Thread Frank Vanderlinden
Title: Building NETCF projects Hi, I'm rather new at Nant but I've got the following problem. My project consits out of 6 Assmeblies. When I build it using VS.Net 2003 and deploy it on the device , everything works fine. When using the CSC task in nant, the assembly triggers an NullRef

[Nant-users] Problems with function call in a script-task

2004-09-16 Thread Helmut Dipper
Hello, I want to make available the path-conversion functions, cygwin_conv_to_posix_path aso., from the cygwin-library "cygwin1.dll" as function to be used in the expression context in a nant-script, see attachment: If I activate a call to a cygwin-function I get: NAnt 0.85 (Build 0.85.1647.0; n

Re: [Nant-users] Target depending on one of two other targets

2004-09-16 Thread Troy Laurin
Edwin, Another alternative is to unify build/rebuild and decide between them with properties... Regards, -- Troy -Original Message- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of *Castro, Edwin Gabriel (Firing Systems Engr.) *Sent:* Thursday, Septem

RE: [Nant-users] dynamic properties and functions

2004-09-16 Thread Nick Zigomanis
Hi Jaroslaw, Gert, Thanks for your help. I must admit, I don't quite understand why the if evaluation is not delayed in the same way the property value is. Anyway, I've tried the suggestion below. My test has about 11 levels of if, and although it doesn't look nice, it works well. I didn't reali

RE: [Nant-users] Target depending on one of two other targets

2004-09-16 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Oh, I could do that. The only difference is that with the compile target I can remove duplication if targets other than test need to have this type of dependency as well.   From: Felice Vittoria [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 11:31 AM To: Castro, Edw

RE: [Nant-users] Target depending on one of two other targets

2004-09-16 Thread Felice Vittoria
Why can't you put the code in the compile target in the test target ... so it would look like this:     test">             Felice -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.)Sent:

[Nant-users]

2004-09-16 Thread Chris Langston
We are using the 2.0 version of .NET and in so doing, we had to upgrade most of our build tools (NAnt, NUnit, NAntContrib, FxCop, CruiseControl, etc.) and I am not experiencing some problems with the I am using NAnt NAnt 0.85 (Build 0.85.1714.0; net-1.0.win32; nightly; 9/10/2004) and NAnt

RE: [Nant-users] Target depending on one of two other targets

2004-09-16 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Here is the way I was doing it so far:                       The solution is not too difficult. I am more curious as to whether there is a better way to do this. Thanks!   -- Edwin   From: McCullough, Gary [mailto:[EMAIL PROTECTED] Sent: Thursday, S

RE: [Nant-users] Target depending on one of two other targets

2004-09-16 Thread McCullough, Gary
You could have your dependency projects set a property which your dependent could check.   Gary McCullough  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.) Sent: Thursday, September 16, 2004 12:36 PM To: [EMAIL

[Nant-users] Target depending on one of two other targets

2004-09-16 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Is there an easy way to have one target depend on one of two (or more) other targets?   I have a build file similar to the following:     I would like my test target to make sure that either build or rebuild has been executed (I can set one as default if none has executed). I

RE: [Nant-users] IntelliSense for NAnt build files

2004-09-16 Thread Matt Hulse
IntelliSense Lives!!!   Thanks for the replies.   I had typed in the xmlns as I’d seen many times but the problem ended up being that the namespace in the xsd did not match the one I was typing in.  Because of this the intellisense never worked.  I used the task and created my own xsd

RE: [Nant-users] IntelliSense for NAnt build files

2004-09-16 Thread Bassham, Charles
Title: Message I had the same issue.  Finally figured it out though (I think).  The xmlns="" on the project tag has to be the same as the targetNamespace of the .xsd file.  Works great after that. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On B

RE: [Nant-users] Copy directory structure

2004-09-16 Thread Felice Vittoria
Sreeni,   In your copy task, did you set the flatten attribute to true?  If so, set it to false.   Felice -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of SreeniSent: Thursday, September 16, 2004 6:20 AMTo: [EMAIL PROTECTED]Subject: [Nant-

[Nant-users] Copy directory structure

2004-09-16 Thread Sreeni
Hii all,     I 'm trying to create a build file using NAnt.      In the build file I' ve a problem in copying a directory which may have many sub folders in it. I want to copy it to deploy directory as it is. While copying it doesn't maintain the directory structure as in the source direct

Re: [Nant-users] dynamic properties and functions

2004-09-16 Thread Jaroslaw Kowalski
Yes. Anything with "else" semantics is needed badly. Jarek - Original Message - From: "Gert Driesen" <[EMAIL PROTECTED]> To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]> Cc: "Nick Zigomanis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, September 16, 2004 9:07 AM Subject: Re: [Nant

RE: [Nant-users] IntelliSense for NAnt build files

2004-09-16 Thread Bill.Martin
Hi Matt,   At a guess, the bit you are probably missing is the schema reference in your .build file.  You need to change your declaration to something like:   name="MyApp" default="all" basedir=".">   Without this, Visual Studio does not know which sc

Re: [Nant-users] dynamic properties and functions

2004-09-16 Thread Gert Driesen
Hi Jarek, I think we should add a task (similar to the xsl:choose) as soon as possible, I think I'd prefer that over your proposal (although both could ofcourse coexist). ... ... ... What do you think ? Gert - Original Message - From: "Jaros

Re: [Nant-users] dynamic properties and functions

2004-09-16 Thread Jaroslaw Kowalski
It should be possible to use the if() operator: The semantics of if(a,b,c) is: "if a=True then b else c" which is exactly what "a ? b : c" operator from C/C++/C#. Gert, what do you think of extending it to (backward compatible): if (condition1,result1,condition2,result2, ..., conditionN,resul