We should add this one to the faq on the wiki. :)
- Original Message -
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Chris Garty" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 9:35 PM
Subject: Re: [Nant-users] Emailing NAnt output using mail task
> Chris Ga
I think what you want is this:
-->
Kevin…
Thanks for the response.
You said “You
can update it later on in your script, no problem“ If this is correct I’m doing something wrong.
I set a property to one
value then later in the script I changed it to something else. But the only
value it ever seems to have is the se
Chris,
If you want to call devenv from Nant use the exec task - basicaly just
like running devenv from the command line.
SLingshot creates Nant build files from sln files. Sometimes the
resultant build file needs a bit of manual tweaking however.
You can also use Gordon's xsl stylesheet to trans
Chris Garty wrote:
Ok... more... I finally found the NAntContrib project that people were
refering to and found the RecordTask.cs file.
How do I encorporate NAntContrib into NAnt?
build it and place the assembly in the same dir as the main nant executable.
Ian
- Chris
-Original Me
Yes,
In NantContrib there are 7 sourcesafe related tasks. Checkin, Checkout,
add etc
Ian
Is there a task to get code from vss before compile?
Thanks,
Keith Farris
MRE Consulting
LCR ext 3014
cell phone 713-398-5170
---
This SF.NET email is
Keith,
The vssget task is your friend. Example (watch line breaks):
Cheers,
John
http://radio.weblogs.com/0112381/
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of
> Farris, Keith
> Sent: Tuesday, February 11, 2003 7:43 PM
> To: [EMAIL
Francis,
As long as gacutil.exe is in your path and exec should find it. There
is a gacTask.cs in the NAntContrib sources.
Ian
> Hi,
>
> I'd like to use gacutil to install an assembly but NAnt can't find the
> path when I "exec" it (although I'm running NAnt from inside a .Net DOS
> box), and I
I'm interested in this as well.
At the moment I am using Draco.Net which works nicely.
http://sourceforge.net/projects/draconet
Draco.Net
- pulls from VSS
- calls the Nant build file
- repeats after the amount of time you designate
- Chris
-Original Message-
From: Farris, Keith [mailto:
Title: Message
Ok... more... I
finally found the NAntContrib project that people were refering to and found the
RecordTask.cs file.
How do I
encorporate NAntContrib into NAnt?
-
Chris
-Original Message-From: Chris Garty
Sent: Friday, 14 February 2003 11:28 AMTo:
[EMAI
Is there a task to get code from vss before compile?
Thanks,
Keith Farris
MRE Consulting
LCR ext 3014
cell phone 713-398-5170
---
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click
Is anyone installing files into the VS.NET install
directory using NAnt? Is there any way to derive
those kinds of properties using NAnt or is that some
that needs to be done externally?
-Griffin
=
Griffin Caprio
"Your child against mine. The winner
will be hailed, the loser will be booed
Hmm... I was afraid of that. Hopefully I can get
something like that using the registry or something.
Maybe this could be a new task?
Will keep the group posted.
-Griffin
--- Scott Hernandez <[EMAIL PROTECTED]> wrote:
> Griffin,
>
> Totally external. There is nothing in NAnt which
> exposes
Title: Message
I found something
about a Record task, but I haven't been able to find it in the source
code.
What area of the
source-code should I look in?
-
Chris
-Original Message-From: Chris Garty
Sent: Friday, 14 February 2003 10:21 AMTo:
[EMAIL PROTECTED]Subject:
Title: Message
Hi,
From what I have
read in the archives, these two topics seem to be loosely
related...
I want to be able
to get NAnt to build my solution using devenv (because I can't be bothered
setting up the references and web references in NAnt at the moment) but I can't
find a su
Once
you set a property I believe it is scoped to the entire project meaning it is
visible everywhere. You can update it later on in your script, no
problem.
Note,
If you set a property via the commandline inputs those properties are ReadOnly
and cannot be changed. You can try to update R
Title: Message
Hi,
I have NAnt
sending an email on failure (thanks to the person that posted about
NAnt.failure), but I only get the one line of text I put in there saying
"failure".
How do I get NAnt
to email me the build (and test) output (the stuff that I see on the screen)
using an
Can I reuse a property? I want to set a property then
change it later in the script.
I want to have one build file that can switch
depending on a variable. Is this not what properties are for?
When I set the property it is always what ever I set
it to last. Can anyone tell me how I
Sorry, maybe I was a bit misleading in my last
email. There is a readregistry task in the current builds that can help out. I
think there is a VS.Net installdir registry key that you can read. Then you can
just copy to that path. That should do it for you, right?
- Original Message -
Hi,
The registry key is HKLM\SOFTWARE\Microsoft\VisualStudio\7.0\
Key: InstallDir
Yves
> -Original Message-
> From: Griffin Caprio [mailto:[EMAIL PROTECTED]]
> Sent: 13 February 2003 18:34
> To: Scott Hernandez
> Cc: NAntDev; [EMAIL PROTECTED]
> Subject: Re: [nant-dev] Installing files
Griffin,
Totally external. There is nothing in NAnt which exposes the fact, or
requires, that VS.Net be installed.
I did install some things into a VS.Net dir using nant, but it required that
I hardcode the path in the buildfile. When I was playing around with the
NAntSchemaGeneratorTask I would
Hi,
Would a GUID make good class name? System.Guid.NewGuid(). Maybe simply removing the
"-" and prefixing it to with a letter!
Ex: _rootClassName = "nant" + System.Guid.NewGuid().ToString().Replace("-", "");
Pat
-Original Message-
From: Scott Hernandez [mailto:[EMAIL PROTECTED]]
Se
Hi,
I'd like to use gacutil to install an assembly but NAnt can't find the
path when I "exec" it (although I'm running NAnt from inside a .Net DOS
box), and I can't find a gac task in NAntContrib though I see a
reference to one in the changelog.
I'm using NAnt version 0.8.0, and any upgrade wo
ok good point. Just add the paramater to your csc task then
Ian
csc supports a /main: switch allowing you to state which type(containing a
Main) should be used as an entry point:
/main:Specifies the type that contains the entry point
(ignore
all other possi
> > Has anyone run into a problem building a class the has multiple entry
> > points into it with nant? Is there a way to get around this with the
> > task?
> >
> > Thanks,
> > Mike.
> This is the standard behaviour for the csc compiler and in fact for
> every .net compiler. There can only be a si
This is the standard behaviour for the csc compiler and in fact for
every .net compiler. There can only be a single static Main method in a
given .exe assembly otherwise the runtime will not know which one to
execute at startup. Remove or rename one of the Main methods and it will
work fine.
I
26 matches
Mail list logo