RE: [Nant-users] Invalid element . Unknown task or datatype.

2004-12-08 Thread Gert Driesen
Hi Andy,   I noticed that you copied the NAnt.Contrib.Tasks assembly to your nant bin directory. Did you also copy all other files (eg. Interop.WindowsInstaller.dll) from the NAntContrib bin directory to the NAnt bin directory ?   Gert   PS. This is why I discourage copying the NAntContrib b

[Nant-users] Invalid element . Unknown task or datatype.

2004-12-08 Thread Andy Eunson
  This appears to be a 1.1 related problem. I had a very similar issue with the solution task in nant .85 using the dist assemblies on a machine that only has NET1.1. The solution there was to use the 85RC1 dist to build the 85RC1 source (you can’t build 85 with 84). Once I did that soluti

RE: [Nant-users] Referencing a subfolder using cvs-update task

2004-12-08 Thread Clayton Harbour
Hi Mark, the value should be a directory name. I have updated the documentation for the override directory and have added an error message to make that more clear. Let me know if that clears things up. Cheers, Clayton -Original Message- From: Butler, Mark A Mr IPI Gramm Tech [mai

Re: [Nant-users] Creating/setting env variables

2004-12-08 Thread Ian MacLean
Eric Deslauriers wrote: The docs could use a tad more detail: http://nant.sourceforge.net/help/tasks/exec.html Fortunately, this came to my aid. http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg05320.ht ml This is an OK solution for a limited # of execs, or a set of execs I can kick

[Nant-users] Referencing a subfolder using cvs-update task

2004-12-08 Thread Butler, Mark A Mr IPI Gramm Tech
String octl-src\DotNetFramework does not match expression ^[A-Za-z0-9][A-Za-z0-9._\-]*$. Why does that string not match? Using the module attribute of the cvs-update task. Assembly: NAnt.SourceControlTasks (0.85.1766.0) This is what I've got: In the build.properties file:

[Nant-users] Env for NUnit2 task

2004-12-08 Thread Eric Deslauriers
I need to set my CoverageEye's env vars deterministically for my NUnit2 task. Does NUnit2 support ? http://nant.sourceforge.net/help/tasks/nunit2.html If there's a way to know what attributes apply to which tasks, then I'm just missing that knowledge. Thanks again! Eric -

RE: [Nant-users] Creating/setting env variables

2004-12-08 Thread Eric Deslauriers
The docs could use a tad more detail: http://nant.sourceforge.net/help/tasks/exec.html Fortunately, this came to my aid. http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg05320.ht ml This is an OK solution for a limited # of execs, or a set of execs I can kick of via foreach, but if

[Nant-users] Your Best Practice

2004-12-08 Thread Mateusz Łoskot
Hello, I'm quite new NAnt user and I'm trying to move my projects (Windows Forms based apps and .NET classes libraries) to NAnt (and combine it with NUnit, NMock and others as a next step). I'm studying the NAnt documentation and users list and try to develop a king of best practice, a king of path

RE: [Nant-users] Creating/setting env variables

2004-12-08 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Eric Deslauriers > Sent: woensdag 8 december 2004 21:31 > To: NAnt Users mailing list > Subject: [Nant-users] Creating/setting env variables > > I'm using CoverageEye for code coverage and have t

RE: [Nant-users] Creating/setting env variables

2004-12-08 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
.NET can, on the other hand, start a process with particular environment variables set. The task has an element for this purpose. I use it to call devenv.exe and set the appropriate PATH, INCLUDE, and LIB environment variable for that execution only. > -Original Message- > From: [EMAIL P

Re: [Nant-users] Creating/setting env variables

2004-12-08 Thread Merrill Cornish
Eric, Someone may have a clever/devious answer, but you may find that you can NOT set environment variables from within NAnt--because .NET won't let you set environment variables, just read them. It's a security thing. Merrill --- SF email

[Nant-users] Creating/setting env variables

2004-12-08 Thread Eric Deslauriers
I'm using CoverageEye for code coverage and have the need to set environment variables that may or may not exist from within my NAnt task. Since unsetting an env var usually makes it not exist, this is problematic. The key requirement is that the any future env calls or exec calls from NAnt need

[Nant-users] Was anything new compiled?

2004-12-08 Thread John Hardin
Hey all! New NAant user here, with a question: I'd like to know whether any assemblies were compiled by the task, and if so, what they were, but I don't see anything suggestive in the function documentation. Is there a bool that flags whether or not anything needed to be recompiled, and/or a str

RE: [Nant-users] regex help

2004-12-08 Thread Felice Vittoria
Thanks everyone .. I got it working. Felice -Original Message- From: Castro, Edwin Gabriel (Firing Systems Engr.) [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 1:09 PM To: Felice Vittoria; Nant-Users (E-mail) Subject: RE: [Nant-users] regex help Try something like this: p

RE: [Nant-users] regex help

2004-12-08 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Try something like this: pattern="(?'version'(\d+\.){3}\d+)" That will get the entire version number. If you need more fine-grained extraction you could try: pattern="(?'major'\d+)\.(?'minor'\d+)\.(?'build'\d+)\.(?'revision'\d+)" Of course, you should use whatever names make sense to your develo

Re: [Nant-users] regex help

2004-12-08 Thread Merrill Cornish
Felice, >>> Public Const TEST_VERSION As String = "Test Program 1.0.0.1" Assuming you can have more than one digit in each of the four positions: \d+\.\d+\.\d+\.\d+ because "\d" says "any digit" and the following "+" says "one or more." Periods are regex characters representing any character,

RE: [Nant-users] Nant mail

2004-12-08 Thread Akins, Greg
You can use the .Net Solution to register the COM object (I assume that would be executed as part of the task. Use to call regasm Is that what you were looking for? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 12:29 PM To: [

[Nant-users] Build Pocket PC cab files with nant

2004-12-08 Thread Thomas
Hi,   it is possible to build Pocket PC cab files (Visual Studio 2003 or 2005 Beta 1) with nant?   Is the "CabWizTask" implemented? I could not found any help in nant or nantcontrib about this theme.   Thanks 4 help Thomas

Re: [Nant-users] Re: Ant vs. NAnt conditional execution of targets

2004-12-08 Thread Stefan Bodewig
On Sun, 5 Dec 2004, Rutger Dijkstra <[EMAIL PROTECTED]> wrote: >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Behalf Of Stefan >> Bodewig >> >> I've never encountered that need, but frequently used if/unless the >> way it is. But my build needs may be different from yours. > > 1. Do not

[Nant-users] Nant mail

2004-12-08 Thread Simon.Burgess
Is there a way to compile .net component source code into a COM object with NAnt? Simon Burgess We would like to take this opportunity to offer seasons greetings from all at Marlborough Stirling. Rather than sending out Christmas cards this year, we will be making a contribution to the charity

[Nant-users] regex help

2004-12-08 Thread Felice Vittoria
Hey guys/gals, I'm using the regex task. This is more of a regular expression syntax more of Nant's usage. I have the following string in one of my files: Public Const TEST_VERSION As String = "Test Program 1.0.0.1" What do I enter for regex's pattern attribute so that I can get the value