[Nant-users] Date Format

2004-04-21 Thread Peter Jones
I need to specify a date range for the VSS command line. The date must be in the VSS format mm/dd/;hh:mm a/p. Anyone got a snippet to do this? TIA --- Peter G Jones University of Canterbury, NZ --- Senior Analyst/Programmer Micr

[Nant-users] link, mc and rc tasks require link.exe, mc.exe and rc.exe to be in the path

2004-04-21 Thread Hearn, Bruce
It seems that the 3 tasks link, mc and rc tasks require link.exe, mc.exe and rc.exe to be in the path when they are run. But these files are supplied with VS.NET, and probably also with the platform SDK. With VS.NET, they get installed to C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bi

RE: [Nant-users] Attempting MSI build

2004-04-21 Thread Michael A. Angelo
Still getting the error. It may be being caused by the TabImageHost class not being the first class in the NAntAddin.cs file. Here is an article about it: http://support.microsoft.com/?kbid=318603 Here is my DOS Window output: C:\Documents and Settings\DougK\Desktop>nant -f:build.xml installer

Re: [Nant-users] MSI excpetion problem

2004-04-21 Thread Gert Driesen
- Original Message - From: "Michael A. Angelo" <[EMAIL PROTECTED]> To: "'Gert Driesen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, April 21, 2004 8:31 PM Subject: [Nant-users] MSI excpetion problem > Let's back up a sec...how should I install NAnt and NantContrib? I was j

[Nant-users] MSI excpetion problem

2004-04-21 Thread Michael A. Angelo
Let's back up a sec...how should I install NAnt and NantContrib? I was just copying the relevant .dll files from NantContrib into the bin directory of Nant. Could this be causing a problem? We are going to try just putting both bin dirs in the path and see what happens. We are still getting the e

RE: [Nant-users] Attempting MSI build

2004-04-21 Thread Michael A. Angelo
We tried to get the version of NantContrib from last night but we get the "Forbidden" page. I did not try from CVS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen Sent: Wednesday, April 21, 2004 1:37 PM To: Michael A. Angelo; [EMAIL PROTECTED

Re: [Nant-users] Attempting MSI build

2004-04-21 Thread Gert Driesen
Michael, What version of NAntContrib are you actually using ? Do you build NAntContrib from cvs ? I fixed this issue a few days back, if I'm not mistaken ... Gert - Original Message - From: "Michael A. Angelo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 21, 2004

[Nant-users] Attempting MSI build

2004-04-21 Thread Michael A. Angelo
I am getting an error trying to do the MSI build. The following is my dos window during and after the build: C:\Documents and Settings\DougK\Desktop>nant -f:build.xml installer NAnt 0.85 (Build 0.85.1565.0; net-1.0.win32; nightly; 4/14/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.source

[Nant-users] Bulding with NantContrib.build

2004-04-21 Thread Michael A. Angelo
I am attempting to build with this file so that I can test the task. I am getting errors stating that a definition already exists. Actual error: d:\nantcontrib\src\Tasks\VSS\GetTask.cs(85,25): error CS0101: The namespace 'NAnt.Contrib.Tasks.SourceSafe' already contains a definition for 'GetTask'

RE: [Nant-users] / vs. \

2004-04-21 Thread Michael A. Angelo
I guess I'll just deal with it. What I've done is set a to the '/' since I need this more often and then when I need the '\' I just call string::replace(var, '/', '\') Works ok for me. Thanx for all your suggestions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [Nant-users] / vs. \

2004-04-21 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I've gotten similar errors in the past when trying to use . When I specify localpath it must use '\' as the directory separators otherwise it complains that the path is not a DOS path. In other situations I've noticed that either works. I think this is because .NET library objects are smart enou

Re: [Nant-users] / vs. \

2004-04-21 Thread Ian MacLean
You shouldn't *need* '/' for the delete task as it uses filesets. Can you post an example build file demonstrating these issues - ie showing which values only work when they are one or the other format. There is no task that Im aware of. Do you mean the task or some task that has a fileset ca

RE: [Nant-users] / vs. \

2004-04-21 Thread Bill.Martin
>From what I can tell, NAnt the '\' character is treated as an escape character as it is in the CLR, therefore to use it you need to escape it first (i.e. '\\') I haven't done enough investigation to be sure exactly when this applies, but to be on the safe side, I have used '/' throughout my build

RE: [Nant-users] / vs. \

2004-04-21 Thread Michael A. Angelo
It appears that I need '/' for tasks like but I need '\' for the task. If I use '\' for the task I don't get any files. If I switch to '/' it works fine. Michael. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen Sent: Wednesday, April 21,