I'm sure people are sick of getting a slough of mails from me, so I'll
combine these ones :-)
Richard Poole wrote:
> I'm relatively new to NAnt so please forgive me if this is a
rubbish/old idea. :)
>
> --- C# snippet ---
>
> public void MyFunction()
> {
> int a = 2; // const or not
Dick, Brian E. wrote:
Is there a way suppress the message from the delete task? I don't want
to see
[delete] Deleting file myfile.ext
why in particular is this a problem ? I would have thought that in
general its better to err on the side of letting people know when files
are deleted.
Ian
James Geurts wrote:
> Is there a way to explicitly call a function?
>
> For example, I created a function similar to the one below
> and I would like to call it occasionally in my build file:
James,
You can call a function as part of an expression,
${function-prefix::function-name(...)}
>
>
> My reading is that Merrill is saying that the script cannot
> override the command line, but that Ian misinterpreted this
> the other way around, i.e. he thought it means that the
> commandline cannot override the script.
>
> If my reading is correct, then much of the subsequent
> discussi
I've tried CC.Net, and am currently evaluating incorporating it into the
build process here... there are two issues regarding this, however:
* Its parsing of the build output is inaccurate. It interprets any
string " error" that's not "0 error" as an error indicator, which
results in errors incorr
> The problem in your case might be that the path of that
> temporary directory that we create exceeds the max. path
> length. The ensure uniqueness of that temp directory, we
> combine the temp path with a Guid :
>
> Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString("N",
> CultureInfo
Felice,
The target name is only output when the target is started, and not when a
called target has finished and the next task (of the target) is executed.
Gert
- Original Message -
From: "Felice Vittoria" <[EMAIL PROTECTED]>
To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, A
Hello all,
I have this build file:
When I run this I get:
NAnt 0.85 (Build 0.85.1682.0; net-1.0.win32; nightly; 8/9/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sou
I don't believe there is a silent option for the delete task. However, I
use the task in NAntcontrib to stop and start recording contents
when written to a log file.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dick, Brian E.
Sent: Tuesday, August 10,
Madham,
I suggest packaging a small repro for this issue and sending it to me.
Gert
- Original Message -
From: "Madhan Retnaswamy" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 10, 2004 8:14 PM
Subject: Re: [Nant-users] Can we ov
Is there a way to explicitly call a function?
For example, I created a function similar to the one below and I would like
to call it occasionally in my build file:
Is there a way suppress the message from the delete task? I don't want
to see
[delete] Deleting file myfile.ext
-Original Message-
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 1:35 PM
To: Madhan Retnaswamy; [EMAIL PROTECTED]
Subject: Re: [Nant-users] Ca
Hello Gert,
I am using one of the latest nightly build but its still not working.
nightly build version: nant-0.85-20040804.
Any ideas or suggestions welcome
Thanks,
Madhan.
On Tue, 10 Aug 2004 19:34:41 +0200, Gert Driesen
<[EMAIL PROTECTED]> wrote:
> Madhan,
>
> What version of NAnt ar
I have to work with a lot of NAnt files generated by other folks, and I
was wondering if there was an Intellisense (e.g. hovering over a
variable to see its value) equivalent editor for NAnt files I could use
to see what the variables are defined as.
Even if it's just a window on the left, I just
Madhan,
What version of NAnt are you using ? A lot of issues were fixed since the
0.84 release, so I suggest trying a recent nightly build
(http://nant.sourceforge.net/nightly/builds).
Gert
- Original Message -
From: "Madhan Retnaswamy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
I originally got that info from just looking at the respective tables in the
msi database. I used Orca to do so...
Jim
> Hi,
>
> Thanks again for the response. But where does one find info like that
> identified in the example below and to know what has to be removed to
> completely remove a v
Hello everybody
Can we overrite the refrence section in a project file (.vbproj file)
from NAnt???My build breaks at a point where it needs reference to
third party dlls. i tried giving the reference to the dll folder in
the , but its still not working. but if i manually
overrite the project f
Thanks. I hope to remember this :)
Felice
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Fre
I need to create a complete install package which can
then be taken to a machine with any OS (windows, win98
and above).
The installer then should be able to detect the
absence of .NET framework and install appropriate
version before installing the application.
I have the NAnt install which works
Matthew,
Can you please provide a test solution/project (containing a minimum set of
files) for this ?
Thanks,
Gert
- Original Message -
From: "Hayhurst, Matthew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 10, 2004 3:07 PM
Subject: [Nant-users] building a solution
Hello,
I've run into a problem trying to compile the cvs version of NAnt. This
compiles fine at home, where I do not have VS6 installed (or VS7 :-) I have
the .Net SDK installed there).
I have VS6 & VS7 installed here at work and I get the following error when
performing a 'bin\nant package'
>>> You cannot unmark a property as being readonly
In other words, readonly is a Very Sticky bit. :-)
Merrill
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for
Hi,
Thanks again for the response. But where does one find info like
that identified in the example below and to know what has to be removed
to completely remove a view say?
Thanks
Steve
Visit our website at http://www.ubs
Felice,
You cannot unmark a property as being readonly ... And I don't think this
is something we should allow
Gert
- Original Message -
From: "Felice Vittoria" <[EMAIL PROTECTED]>
To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, August 10, 2004 2:3
>From: "Ian MacLean" <[EMAIL PROTECTED]>
>Sent: Monday, August 09, 2004 9:41 PM
Either I'm confused, or this entire discussion is based upon a
misinterpretation:
> Merrill Cornish wrote:
>
> > Felice,
> >
> > In the new, improved NAnt, properties now have the option of a
> > readonly attirbute.
Matthew,
If I understand what you are trying to do, you have to use NAnt's function,
${environment::get-variable('LET_OBJ')}, to retrieve a value from an envorinment
variable named LET_OBJ.
Merrill
---
SF.Net email is sponsored by Shop4tech.
Hi Steven,
The wiki is probably the best place to look for info on the task. There is
a FAQ for the task located here:
http://nant.sourceforge.net/wiki/index.php/MSITask. If you don't see
something that you're curious about, feel free to add the question to the
FAQ and/or ask it here.
As for ad
I like this idea. But even better I like the idea of making explicit
parameters. Something I've mentioned before. Parameters and locals would
go a long way toward simplifying build file logic, I think.
For instance, adapting XSLT conventions, suppose you had a construction
like this in your build
I'm trying to build my solution file that contains, unmanaged and managed
c++ dlls, and C# dlls and exes.
The c++ projects make use of environment variables for the output dirs and
a number of other things. Nant doesn't seem to like this, saying "LET_OBJ"
(the first environment variable of mine)
Well ..
I modified my property statement to this:
When I run: nant /f:test.build -D:junk="Development" or nant /f:test.build
-D:junk=Development I get this:
Read-only property "junk" cannot be overwritten.
I would expect that I can overwrite the property if I set readonly to false and
over
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 10, 2004 9:30 AM
> Subject: RE: [Nant-users] Path length problem with resgen
>
> Thanks for that Brian,
>
> I have tried shortening my path environment variable t
Troy,
You may want to look at CruiseControl
(http://confluence.public.thoughtworks.org/display/CCNET/). As part of its
output, it includes a formatted form of the build output.
Curt
-Original Message-
From: Troy Laurin [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 10:22 PM
To
Thanks for that Brian,
I have tried shortening my path environment variable to the bare minimum
(about 40 chars) but it makes no difference. I have also moved the source
to the shortest path I can get (without changing names - it's a BIG project,
around 1000 source files) and again it makes no di
33 matches
Mail list logo