RE: [Nant-users] nUnit2 task: Remove from project

2005-08-22 Thread Brass Tilde
I can see the point behind this, and to an extent I agree: if a feature is broken and there's no intention of fixing it then it should simply be removed, because otherwise people (like me - see my earlier post) are going to waste a lot of time trying to get something to work that just won't.

Re: [Nant-users] Free version of Nant Pad?

2005-09-22 Thread Brass Tilde
Is there any tool out there that is open source or free that is an alternative to nant pad? Bascially looking for a nant editor. There used to be some instructions somewhere in the NAnt docs for using Visual Studio 2003 for this. That way, you could use the same editor for your build script

Re: [Nant-users] Developing NAnt tasks resource

2005-09-28 Thread Brass Tilde
From: Marc Holmes My book does include a chapter on task creation amongst other stuff. And I'll chime in with kudos on that chapter (and the book in general). I've successfully written several tasks now using Marc's book as a guide. Clear explanations and illustrative examples that actually

Re: [Nant-users] How to manage asynchronous tasks

2005-10-05 Thread Brass Tilde
I would like to start the Visual Basic 6 compiler (vb6.exe) which works in the background unfortunately. I know there is the vb6-task. But it does not work as I expect. Besides, since it also just make an exec call it is has the same effect. Are you talking about the NAntContrib VB6 task? If

Re: [Nant-users] Getting environment variable value

2005-10-24 Thread Brass Tilde
property name=Project.Name value=${environment::get-variable(PROJECTS)} / Try this instead: property name=Project.Name value=${environment::get-variable('PROJECTS')} / The single quotation mark tells NAnt that the value is literal, rather than a property.

RE: [Nant-users] string::trim

2005-10-27 Thread Brass Tilde
I'm trying to remove spaces from a string and use it as a property. Any clue why the following won't work: project name=test default=default property name=myString value=String With Spaces/ target name=default property name=stringNoSpace value=${string::trim(myString)}/

RE: [NAnt-users] NAnt support for .NET VS 2005

2006-04-22 Thread Brass Tilde
My understanding was that this release supported VS 2005. Am I missing something here? [solution] Starting solution build. Microsoft Visual Studio.NET 2005 solutions are not supported. While NAnt itself will run under the 2.0 platform, the solution / task does not understand VS 2005 solution

Re: [NAnt-users] NANT fails with GUID values do not match, but with matching GUIDs?

2006-05-05 Thread Brass Tilde
[solution] Starting solution build. [solution] GUID corruption detected for project 'XX.Presentation.Views.Summary'. GUID values in project file and solution file do not match ( '{9277ABB6-8305-480F-828F-92C99DD42999}' and '{9277ABB6-8305-480F-828F-92C99DD42899}' ). Please correct this

[NAnt-users] Load properties from a file

2006-07-24 Thread Brass Tilde
I could have sworn that I saw a task in either NAnt or NAntContrib that would load a set of properties from a separate file. Since I can't find it in either NAnt's or NAntContrib's current documentation, I presume that I was halucinating. If I'm not, would someone please point me to it? If

Re: [NAnt-users] MSBuild

2006-07-28 Thread Brass Tilde
msbuild ... ... property name=Configuration value=${build.config} / /msbuild Geez, where have I been? Does this msbuild / task support the .NET 2.0 version of the program? Brad - Take Surveys. Earn Cash.

[NAnt-users] Category inclusion/exclusion command line switch for Nunit-GUI.exe

2006-11-28 Thread Brass Tilde
Is there a request to provide the /include and /exclude switches on the GUI command line as well as the console app? Is this a reasonable request? I use the NUnit-GUI app from within VS 2005, using the Debug tab from within the project properties for my test project, and I have some long

Re: [NAnt-users] Category inclusion/exclusion command line switchfor Nunit-GUI.exe

2006-11-29 Thread Brass Tilde
Gert Driesen [EMAIL PROTECTED] wrote: Wrong list; please post this message to one of the NUnit lists instead. Arg. My apologies to the list. I chose...poorly from my address book. - Take Surveys. Earn Cash. Influence

Re: [NAnt-users] passing string delimiters

2007-04-10 Thread Brass Tilde
Phil Sayers [EMAIL PROTECTED] wrote: ok, I'm using the msbuild task from nantContrib, but i'm sure the same principles apply to nant, it's just a syntax issue. so my msbuild task looks like this msbuild project='${core.source}\Solution 1.sln' I've never had to include single quotation

Re: [NAnt-users] passing string delimiters

2007-04-10 Thread Brass Tilde
Phil Sayers [EMAIL PROTECTED] wrote: with MSBuild you must delimit the project or solution path/name with quotes otherwise you get MSBUILD : error MSB1008 I've never gotten that error from using the MSBuild task. But you used single quotation marks. Should you be using double quotation

Re: [NAnt-users] Creating custom Nant Tasks

2007-06-18 Thread Brass Tilde
Is there anyone who has had experience creating custom Nant tasks?  I am trying to hook in mcc, a matlab compiler, into Nant, but I am running into issues when I try to parse nested elements.  What I want to be able to parse looks something like this: FWIW, I've seldom found an application

[NAnt-users] XmlPeek task, verbose attribute

2007-07-06 Thread Brass Tilde
Using NAnt 0.85, the xmlpeek task reports the absence of a particular XPath as an error. It doesn't cause my build to fail, since I've specified 'failonerror=false', but CC.NET reports it as an error in it's errors section. In my particular case is *not* an error, since the presence or

Re: [NAnt-users] VB projects compilation issue

2007-08-01 Thread Brass Tilde
Ashish Mittal [EMAIL PROTECTED] wrote: Hello friends, I am getting error in compilation of VB6 projects. Problem:-I want to compile VB6 project from NAnt and also want to provide reference to some dll during project compilation time. Generally speaking, references in a VB6 program

Re: [NAnt-users] VB projects compilation issue

2007-08-01 Thread Brass Tilde
Let's keep this on the list, so others who might be stuck in COMville can benefit as well. Ashish Mittal [EMAIL PROTECTED] wrote: Hi, Thanks for your response As you mentioned that If the DLLs you are referencing are registered, then the VB6 compiler should be able to find them no matter

Re: [NAnt-users] NANT and VS2005

2007-09-20 Thread Brass Tilde
Alan Guedeney [EMAIL PROTECTED] wrote: NANT solution task documentation does not include support for VS2005? Does this work in version 0.85? -Alan Not that I've seen, though there is allegedly a version somewhere that does. However, the MSBuild task works quite well for building solution

Re: [NAnt-users] svn task

2007-10-05 Thread Brass Tilde
Bob Archer [EMAIL PROTECTED] wrote: I am trying to use the svn task. Basically, I want to commit a file to the repository. The file may or may not have been in the repo before. I don't think that matters comminting the file should implicitly add it. Well, it matters to *Subversion*. The

Re: [NAnt-users] NantContrib and vb6 task

2007-11-02 Thread Brass Tilde
Dix, John [EMAIL PROTECTED] wrote: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual Basic] ProductDir=C:\\Program Files\\Microsoft Visual Studio\\VB98 I changed this to be the path of my tools/SDK/VB98 directory under my enlistment and it works! You can also

Re: [NAnt-users] VS.Net 2005 and NAnt 0.85 - I'm going insane withthis!!!!

2007-11-08 Thread Brass Tilde
Wayne Hartell [EMAIL PROTECTED] wrote: Hi All, We have beem using NAnt-0.85-rc3 for quite some time with Visual Studio 2003.NET. In our build files we have been executing builds like this: property name=devenvPath value=c:\program files\microsoft visual studio .net

Re: [NAnt-users] Bug? fail/ task doesn't cause a non-zero exitcodefrom within a nant.onsuccess target

2007-11-09 Thread Brass Tilde
Chris Lambrou [EMAIL PROTECTED] wrote: Craig, We use a slightly modified version of NUnit, and often we wrap it in NCover.Console.exe, so we run it using an exec/ task, rather than using NAnt's nunit/ task. However, even if NUnit returns with a non-zero error code, we don't allow this to

Re: [NAnt-users] VS2008 solution format error

2008-01-24 Thread Brass Tilde
Bob Archer [EMAIL PROTECTED] wrote: I'm using the latest nightly build, VS2008 prof trial and .NET 3.5 and I'm getting this error Solution format of file 'C:\test\Project\src\project.sln' is not supported. Have you tried using the exec / task and just executing the 3.5 version of

Re: [NAnt-users] exec

2008-02-08 Thread Brass Tilde
Bob Archer [EMAIL PROTECTED] wrote: So, I have a build tool which comes with a batch file to call it. The batch file calls the build tool which sets the errorlevel. It actually sets it to 1 for success. Is it possible it doesn't get back to nant... I would expect nant to see the one and think

Re: [NAnt-users] 3.5 Framework Solution Build using 2.0

2008-02-29 Thread Brass Tilde
Bob Archer [EMAIL PROTECTED] wrote: MY understanding is that this was only an issue with projects created with the beta releases. If you create the projects with the RTM release it is fine. There is a batch file that fixes this here:

Re: [NAnt-users] Command line properties - Can youexplainthismessage?

2008-03-03 Thread Brass Tilde
Ken Parrish [EMAIL PROTECTED] wrote: Eric, Good observation which I should have mentioned. The if statement in my example is not really necessary--it just suppresses the error message generated by Nant. The code behaves correctly without the if statement as was in my original example.

[NAnt-users] Framework paths

2008-04-24 Thread Brass Tilde
Using NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007), and the nant/bin directory in my path, and this build file: ?xml version=1.0 encoding=utf-8? project name=test basedir=. xmlns=http://nant.sf.net/release/0.86-beta1/nant.xsd; echo message=Runtime Framework:

Re: [NAnt-users] Framework paths

2008-04-25 Thread Brass Tilde
Gert Driesen [EMAIL PROTECTED] wrote: Brad, This issue was fixed since the beta 1 release. Can you try using the lastest nightly build (from 10th of Februari), and let me know if that fixes it for you? It does indeed, thanks very much. Brad

Re: [NAnt-users] svn failed to start

2008-08-12 Thread Brass Tilde
Bob Archer [EMAIL PROTECTED] wrote: Sorry, I'm really stuck here. Does anyone else have any ideas why I would be getting a fail to start message with the exec tag. (BTW: The SVN tag works, I just can't seem to get it to do what I want it to do.) Have you tried using the fully qualified path

Re: [NAnt-users] svn failed to start

2008-08-12 Thread Brass Tilde
Bob Archer [EMAIL PROTECTED] wrote: Yes, I have tried several different things on the exec tag... Have you tried verbose on the exec / to see what output, if anything, Subversion is actually pumping out? - This SF.Net

Re: [NAnt-users] svn failed to start

2008-08-12 Thread Brass Tilde
Bob Archer [EMAIL PROTECTED] wrote: I looks to be like this task deletes any files in the project with an svn status of Unversioned or Ignored. Digging future it seems to use another open source project from Softect, subversionsharp and AprSharp that are actuall linked to subversion 1.4

Re: [NAnt-users] xmlpeek - Multiple nodes found with the XPath expression

2008-10-16 Thread Brass Tilde
I ran into this issue *so* many times that I obtained the xmllist task and source from: http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx Snap! Thanks so much for that. That should go a long way towards solving my current PITA. Brad

Re: [NAnt-users] MSBuild task and .NET 3.5

2008-10-21 Thread Brass Tilde
I am using Nant on two separate workstations. I installed Nant Version 0.86 on both machines. In both cases, I edited the Nant configuration file and set: Did you compare the two config files to make absolutely certain that they are the same? If so, it sounds like either something that

Re: [NAnt-users] Any way to do a while loop?

2008-11-10 Thread Brass Tilde
the installer directly. I'm launching the process remotely, which requires my nant exec task to call a vbs script locally, and the vb code starts the process on the remote machine. The vbs script does not wait for the remote process started to complete before the vbs itself completes. Any

Re: [NAnt-users] Delete files but preserve directory tree

2009-01-06 Thread Brass Tilde
IF this a consistent directory tree? If so, just exclude the directories from the delete. If not I think you should be able to use a foreach to loop over a fileset and delete each individual files. But, I don't know how good the performance on this will be. Would the effort of adding a

Re: [NAnt-users] ignoring compilation error messages

2009-02-05 Thread Brass Tilde
that I want to build with nant. The problem is that our project has a number of errors that I need to ignore. I know that these errors should be fixed, but for some silly political reason they need to be ignored and my Mgr is over ruling me. Just out of curiosity, how do you ignore errors? A

Re: [NAnt-users] examples of Environment Config Files

2009-02-06 Thread Brass Tilde
Config files for specifically what purpose? Pointing to different databases or other resources? Options that should only appear in one environment? /bs -- Create and Deploy Rich Internet Apps outside the browser with

Re: [NAnt-users] examples of Environment Config Files

2009-02-06 Thread Brass Tilde
environment config files. In my case I have a lot of the individual task doing what they are suppose to do. However, if my supervisor puts in Nant -D:tag=/src/Test/tags/Star1_1.0 env=prod then he wants it to point to the production environment and run my existing task, env=dev then he wants

Re: [NAnt-users] running a batch file

2009-02-11 Thread Brass Tilde
target name=mapdrive exec program=cmd.exe failonerror=false verbose=true arg value=c:\zdownload\setup1.bat/arg /exec What is wrong with this bat file? When I run it it just hangs What does setup1.bat look like?

Re: [NAnt-users] nant , vs 2008 on 2.0 framework

2009-02-13 Thread Brass Tilde
I am using nant to build a project vs2008 but on a 2.0 framework and I keep running in to the following error: File format version is unrecognized: MSBUILD can only read solution files between versions 7 and 9 inclusive The error indicates that MSBuild 2.0.whatever is trying to read a

Re: [NAnt-users] psexec

2009-02-17 Thread Brass Tilde
I was able to use psexec to start and stop IIS on a remote machine however, I was not able to unregister and unregister a .dll on that same remote machine. So my target ran a bat file that You need to make sure the user logged into the local machine has rights to make the modifications you

Re: [NAnt-users] psexec

2009-02-17 Thread Brass Tilde
2. Unregister – dlls – here it just hangs Regsvr32 –u x:\dlls\aspDlls.dll If this is the exact command line you used, add the /s (silent) switch to it, and see what happens. If you don't do that, the remote machine is trying to display a modal dialog box. Whether or not that succeeds

Re: [NAnt-users] psexec

2009-02-19 Thread Brass Tilde
Sorry added the switch but there appears to be some type of error with the bat file That's something that you're going to need to work out. Use regsvr32.exe /? for specific help with that command. Many DOS commands have such a switch which will show you the parameters. /bs

Re: [NAnt-users] .Net Windows Application : Microsoft.Office.Interop.Word reference

2009-02-19 Thread Brass Tilde
I have created a windows application that has a reference to the word interop and performs certain automation of MS Word. The build Process is fine inside visual studio, However i am having difficulty building it with Nant, mainly with respect to building it with the MS Word interop, which

Re: [NAnt-users] path combine question for OS

2009-02-26 Thread Brass Tilde
 I am trying to use the path combine operation to launch an exec task with the correct executable.  I was hoping that path combine would correctly combine for the correct OS   A/B/C for mac and A\B\C for windows. path::combine ( A, B/C) would correctly give A/B/C for mac and A\B\C for

Re: [NAnt-users] XML Validator

2009-04-20 Thread Brass Tilde
Depending on exactly what you mean by validate a folder of xml files, Saxon may fill the bill. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save

Re: [NAnt-users] XML Validator

2009-04-20 Thread Brass Tilde
Brass, One option that you might pursue Just to clarify, this is Alon Amsalem's question, not mine. /bs -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April

Re: [NAnt-users] Delete not removing directories ...

2009-04-22 Thread Brass Tilde
    delete verbose=true includeemptydirs=true   fileset basedir=${PurgeDeployDirectory_dir} defaultexcludes=false     include name=**/_vti_cnf /     include name=**/XX* /     include name=Dashboard /  

Re: [NAnt-users] SOLVED: RE: Delete not removing directories ...

2009-04-23 Thread Brass Tilde
Scoured the documentation and discovered that delete will not act on ReadOnly files and directories.  Marked the entire directory tree as Read/Write.  Now everything is working as expected. Ah. Good to know. Now the question that comes to my mind is: Do you really need to make your

Re: [NAnt-users] editing a VBP

2009-04-24 Thread Brass Tilde
Or, any other quick and dirty ways to modify a vbp file. I want to set the MajorVer, MinorVer and RevisionVer values. For this specific task, we use a combination of a custom regex function, and the loadfile, property and echo tasks. The script: script language=C# prefix=regex code

Re: [NAnt-users] Building a WPF project in Nant

2009-07-17 Thread Brass Tilde
I am trying to build a WPF project having xaml file using csc task in nant and it gives me several error like this :- error CS0103: The name 'InitializeComponent' does not exist in the current context I have checked all build and assembly refrence but the error remains same.Can I build a

Re: [NAnt-users] [nant-dev] Thoughts on moving NAnt to git

2010-10-17 Thread Brass Tilde
I'm not a developer on the project, so my opinion doesn't really count, nor frankly do I have an opinion either way anyway, but why would you suggest a change? Aside from any personal preferences you may have, what would the *project* gain from such a switch, and why would that make changing

Re: [NAnt-users] New To NANT

2010-11-03 Thread Brass Tilde
If you're running NAnt fro a network share, you may have to set that share as trusted to the Framework. By default almost anything except the local box is untrusted. On Nov 3, 2010, at 12:32, Troy Bull troy.b...@gmail.com wrote: I am brand new to nant. I downloaded it and it runs fine on my

Re: [NAnt-users] Solution format of file is not supported.

2011-05-26 Thread Brass Tilde
We've found that it's easiest to just use the MSBuild task, rather than the solution task, which calls out to MSBuild itself. On Thu, May 26, 2011 at 2:22 PM, Jed Padilla jpadi...@flclerks.com wrote: I recently had a friend recommend NAnt to me. The project I am working on has 10 different

Re: [NAnt-users] Solution format of file is not supported.

2011-05-27 Thread Brass Tilde
I don't remember if MS Build can suppress them from the command line or not, but there is a section in the Build section of the Project properties page where you can suppress specific warnings by number. On Fri, May 27, 2011 at 8:09 AM, Jed Padilla jpadi...@flclerks.com wrote: I got NAnt

Re: [NAnt-users] Good Nant book for beginner

2011-08-31 Thread Brass Tilde
+1 on these recommendations. I have this book, and it was just what we needed. On Wed, Aug 31, 2011 at 12:30 PM, Scott Pennington spenning...@prosper.comwrote: http://www.apress.com/9781590594858 is a good book on NAnt and CruiseControl.NET with examples on how to actaully do it. ** **

Re: [NAnt-users] Good Nant book for beginner

2011-09-01 Thread Brass Tilde
On Aug 31, 2011, at 12:05 PM, Brass Tilde brassti...@gmail.com wrote: +1 on these recommendations. I have this book, and it was just what we needed. On Wed, Aug 31, 2011 at 12:30 PM, Scott Pennington spenning...@prosper.com spenning...@prosper.com wrote: http://www.apress.com/9781590594858http