Mark,
First of all, you don't need to build NAnt when you download an official
release or the binary distribution for a nightly build, as they come with a
fully functional version of NAnt !
Now for the test failure : the reason why the test fails is because you
haven't run vsvars32.bat (C:\Prog
Castro,
The collection and iterator classes aren't really necessary as you could use
an array based property too :
[BuildElementCollection("filters", "pattern")]
public Pattern[] Patterns {
get { return _patterns; }
set { _patterns = value; }
}
but from a design perspective collections are
Title: Install Fails
I have a problem installing nant. This is what the log says. Any ideas? Thanks.
=
[nunit2] Tests run:
I am new to building tools, Appreciate if you can help on this:
Can we compare nAnt and BuildIt to build .NET Application? If yes pls let me know
which is better and why ?
Thanks in Advance
Manish
---
This SF.Net email is sponsored by: YOU B
It turns out that I forgot to do a lot! I
first needed to create a class derived from Element:
[ElementName(“pattern”)]
public class Pattern : Element {
// …
}
Then I needed to create a specialized
Collection:
[Serializable()]
public class PatternCollection :
CollectionB
Hi All,
I am writing my own custom task and I would like to have a
collection of strings as an element… something like the following:
My code looks like this:
[BuildElementCollection("filters",
"pattern")]
public StringCollection
Is this a problem with interoperability
between 2.0 and 1.1 versions of .NET?
--Edwin
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Langston
Sent: Monday, September 20, 2004
11:41 AM
To:
[EMAIL PROTECTED]
Subject: [Nant-users] Problem with
vssadd
Try passing a string by using single quotes
like: “${environment::variable-exists('temp')}”.
--Edwin
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devin Grant
Sent: Monday, September 20, 2004
12:16 PM
To:
[EMAIL PROTECTED]
Subject: [Nant-users] Calling
Envir
I have the release version of NAnt (build 0.85.1720.0) on my
machine and I am unable to call “${environment::variable-exists(temp)}”.
Error message:
Property evaluation failed.
_expression_:
${environment::variable-exists(temp)}
Murty and all,
I'm glad to see things are working :) However, I would've liked to know why you were
getting those errors. I guess we'll have to wait until these errors pop-up again (if
they ever do).
Felice
-Original Message-
From: murty dronamraju [mailto:[EMAIL PROTECTED]
Sent: Mon
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
Gert, Felice:
I deleted both nant-build, nant-contrib directories , deleted my nant
env variables , rebooted my machine and did a fresh install. Dunno why
but the Vssget task works fine now :)
Thanks a lot for your help!!
Murty
On Mon, 20 Sep 2004 20:31:01 +0200, Gert Driesen
Murty,
Can you run NAnt in debug mode (NAnt.exe -debug) and post the output ?
When is executed, you should get output similar to this :
[loadtasks] Scanning assembly "NAnt.Contrib.Tasks" for extensions.
[loadtasks] Creating TaskBuilder for "P4Print".
[loadtasks] Adding "p4print" from
D:\CVS\NAntC
I have a large
nested build and I am getting an error that status that a tmp directory cannot
be deleted because it is not empty. When I check the directory it is
empty. It appears that there is some race condition in clearing the
directory.
This is at the end
of a task.
Edwin,
I agree that spaces should not be a problem, as well as having C:\Program Files as
your directory root shouldn't be a problem. Seems as though my mind is in the same
boat as yours ... to question everything.
Felice
-Original Message-
From: Castro, Edwin Gabriel (Firing System
I expect spaces will not be the problem. I have NAnt and NAntContrib
both in "C:\Program Files". Actually, I have them set up as follows:
NAnt is at "C:\Program Files\DotTools\nant-0.85-nightly".
NAntContrib is at "C:\Program Files\DotTools\nantcontrib-0.85-nightly".
In my NAnt build files I use
Thanks !
-Original Message-
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 12:43 PM
To: Felice Vittoria; Skip Sailors; [EMAIL PROTECTED]
Subject: [SPAM] - Re: [Nant-users] RE: containing " in value
([EMAIL PROTECTED]) - Email found in subject
Felice,
Separ
Felice,
Separate elements allows NAnt to
- resolve relative to absolute file paths (when using "file" attribute)
- take care of quoting if necessary (when using "value", "file" or "path"
attribute)
- conditionally pass certain arguments to the executable (using "if" and
"unless" attributes)
- au
Murty
I'm not sure what else it could be :( Hopefully someone else may be able to answer
that. However, in the meantime, I'll continue to look.
Just out of curiosity .. what would happen if you placed the directories outside of
C:\Program Files? Also, could you try a directory without a spac
Felice:
I checked the path to NAnt.contrib.tasks.dll and it is Ok..I have two
separate folders now, one for the nightly build and the other for
nant-contrib.
Still no luck..Any ideas..
Thanks in advance,
Murty
On Mon, 20 Sep 2004 11:25:24 -0500, Felice Vittoria
<[EMAIL PROTECTED]> wrote:
> Mur
Murty,
I'm using the latest NAnt (Sep 19) and latest NAntContrib (Sep 19). vssget works fine
for me. You shouldn't need to build NAntContrib and if you are using the loadtasks
(preferred method), then you shouldn't need to dump NAntContrib's bin into NAnt's bin.
Is the path to NAnt.Contrib.Ta
Hi Gert,
On 9/20/2004 5:31 PM, Gert Driesen wrote:
> This is a know issue in NAnt 0.84.
> [...]
Thanks for your clear and helpful explanation.
Greets
--
Mateusz Łoskot
mateusz at loskot dot net
---
This SF.Net email is sponsored by: YOU BE THE JUD
Gert,
You said:
In the spirit of XML, wouldn't it be reasonable to expect that we could
write:
That should ofcourse be possible too, but I'd advise against using the
commandline attribute and use the nested elements instead.
You can use the "line" attribute of the element if you want to contr
Gert:
I am using the latest versions of the nightly and the
contrib ( Sept 19) and still having the same problem with vssget. BTW
does the nant-contrib need to be built using nAnt or is dumping the
contents of the bin folder of nantcontrib into the nAnt bin
sufficient?
Thanks in advance
- Original Message -
From: "Skip Sailors" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 20, 2004 5:26 PM
Subject: [Nant-users] RE: containing " in value ([EMAIL PROTECTED])
>
>...
>Today's Topics:
>
>1. containing " in value ([EMAIL PROTECTED])
>...
>Message: 1
Mateusz,
This is a know issue in NAnt 0.84. NAnt 0.84 by default target .NET 1.0,
and its fooled to believe that the .NET Framework 1.0 is installed, because
of the fact that the .NET Framework 1.1 installer also creates a
"C:\WINNT\Microsoft.NET\Framework\v1.0.3705" directory.
In NAnt 0.85, we
>
>...
>Today's Topics:
>
>1. containing " in value ([EMAIL PROTECTED])
>...
>Message: 1
>To: [EMAIL PROTECTED]
>From: [EMAIL PROTECTED]
>Date: Fri, 17 Sep 2004 18:41:39 -0400
>Subject: [Nant-users] containing "
Hello,
I'm trying to use NAnt predefined properties but it seems that they does
not work correctly.
I have only .NET Framework 1.1 installed
under the following default path:
c:\WINNT\Microsoft.NET\Framework\v1.1.4322
I use a kind of test target like this:
When I call NAnt with test target I
28 matches
Mail list logo