Re: [Nant-users] NAnt vs. Batch files

2005-02-08 Thread Ian MacLean
Grab a nightly build and use the brand new task. It should do exactly what you're after. and the fact that .net 1.1 doesn't support setting vars is an omission rather than security feature as .net 2.0 supports it. as for why nant is better than batch : - better error handling - portability - proba

RE: [Nant-users] MSI

2005-02-08 Thread Craig Brunetti
Hey all, On this, what's worse, is there anyone out there that has successfully used the MSI task to take care of project types (like Setup Projects in VS.NET 2003) that are not handled by the task? -Craig -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beh

RE: [Nant-users] 2 questions about NAnt and Mono on Linux

2005-02-08 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Niranjan Baiju > Sent: woensdag 9 februari 2005 2:24 > To: nant-users@lists.sourceforge.net > Subject: Re: [Nant-users] 2 questions about NAnt and Mono on Linux > > Hi Gert, > Is task supported

RE: [Nant-users] Reference not found on different OS

2005-02-08 Thread Gert Driesen
Fred, Could it be that you're using a old version of NAnt ? Recent versions of NAnt (eg. 0.85 RC1) should not have any problems with this hintpath. Gert > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Fred Chang > Sent: dinsdag 8 februari 200

Re: [Nant-users] 2 questions about NAnt and Mono on Linux

2005-02-08 Thread Niranjan Baiju
Hi Gert, Is task supported on Mono/Windows ? Thanks, Niranjan On Tue, 11 Jan 2005 11:05:03 +0100, Gert Driesen <[EMAIL PROTECTED]> wrote: > Dustin, > > Right now, the task is not supported on Mono/Linux. We are > planning on adding support for Mono after the 0.85 release. > > The reason wh

RE: [Nant-users] Reference not found on different OS

2005-02-08 Thread Butler, Mark A Mr IPI Gramm Tech
Here is one of my CSC tasks and it works just fine. Check out the help about .NET configuration. Also, look in the file C

Re: [Nant-users] Reference not found on different OS

2005-02-08 Thread Josh Larson
What I do is something like this: where I am explicitly setting the framework version to build with like this: The trick then is other references (as merging filesets is not currently trivial). I use a property to identify the ref path:

Re: [Nant-users] Reference not found on different OS

2005-02-08 Thread Fred Chang
If I do that, NAnt tries to find System.Web.dll in the same directory as the NAnt build script. So that doesn't really work. What works: make a copy of Microsoft.Net from C:\WINNT to C:\Windows I know this is really ghetto, but is there any other way? Is there a environment variable that I can se

[Nant-users] Counting nodes using

2005-02-08 Thread Nau, Michael
Title: Counting nodes using Is there a way to count xml nodes using the task. I'd like to dynamically count the number of entries in the following xml file:       Is there a way I can do this with the task? I tried the following, but nant errors as "The _expression_ passed to

RE: [Nant-users] Reference not found on different OS

2005-02-08 Thread Butler, Mark A Mr IPI Gramm Tech
Try taking out any path reference. Leave it at 'System.Web.dll' NAnt will find it. You can do that for all the .net DLL's. MArk B. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Chang Sent: Tuesday, February 08, 2005 12:55 PM To: nant-users@lists

[Nant-users] Reference not found on different OS

2005-02-08 Thread Fred Chang
I have a project developed on Windows 2003 and a NAnt build script on Windows 2000. During execution, NAnt complains that references could not be found: Couldn't find referenced assembly 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Web.dll'. This error occurred because the HintPath in tha

Re: [Nant-users] Output from task?

2005-02-08 Thread Gary Feldman
>From: "Jim Stanley" <[EMAIL PROTECTED]> >Sent: Tuesday, February 08, 2005 2:48 PM > We're NAnt newbies, but we've come up with a pretty good script so far. > One problem: our supervisor insists that the output from the solution > build, including warnings and/or errors, be in the NAnt build out

[Nant-users] Output from task?

2005-02-08 Thread Jim Stanley
Hello all, We're NAnt newbies, but we've come up with a pretty good script so far. One problem: our supervisor insists that the output from the solution build, including warnings and/or errors, be in the NAnt build output (which we're logging to a file). We've tried the "verbose" keyword, but t

Re: [Nant-users] NAnt vs. Batch files

2005-02-08 Thread Gary Feldman
>- Original Message - >From: "Merrill Cornish" <[EMAIL PROTECTED]> >Sent: Monday, February 07, 2005 9:52 PM > My questions for any of you are: > > * Is there a better way in NAnt to getting the environment variables set for each ? > > * What arguments can I use to show that despite its

[Nant-users] MSI

2005-02-08 Thread Bill.Martin
I know it's a nant-contrib task really, but does anyone know of where I can get some complete examples of basic tasks. The snippets in the help are sort of helpful ,but it's much clearer if you can see the whole thing together (given I'm not exactly familiar with the msi database schema). TIA,

Re: [Nant-users] How can I list items once and use them in multip le targets?

2005-02-08 Thread Noel Llopis
On Monday 07 February 2005 06:27, Byrd, Payton wrote: > I have blogged on this subject: > > http://blogs.ittoolbox.com/visualbasic/dotnet/archives/002467.asp Thanks, I tried something like that and worked great. The main fact that I needed to learn was and . Unfortunately it looks like calling

RE: [Nant-users] Getting The Creation Date For Each File In A Filegroup

2005-02-08 Thread Gert Driesen
Greg,   The task should look like this :     Hope this helps,   Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory A. LuskSent: maandag 7 februari 2005 16:19To: nant-users@lists.sourceforge.netSubject: [Nant-users] Getting The Creation Date For Ea

[Nant-users] Project build fails with Nant, but succeeds with Devenv

2005-02-08 Thread Dan Suceava
I’m trying to build a solution that builds just fine in the VS.NET 2003 IDE but one of the projects fails when using Nant.  I’m using Nant 0.85 RC 1, .NET 1.1, on Windows XP, with the ‘solution’ task.  None of the project build options have been changed, they are all defaults.   The error

[Nant-users] Getting The Creation Date For Each File In A Filegroup

2005-02-08 Thread Gregory A. Lusk
I was wondering if someone might be able to give me a few pointers on how to get the creation date for each file in a filegroup.  I've tried the following script snippet, but I can't seem to get it to work.                                  

RE: [Nant-users] NAnt vs. Batch files

2005-02-08 Thread Gert Driesen
Eric, The task has since become part of NAnt Core (thx to Ian), so you no longer need to define that custom task: http://nant.sourceforge.net/nightly/latest/help/tasks/setenv.html Gert > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Eric Des