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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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-
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
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
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
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
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
21 matches
Mail list logo