RE: [Nant-users] Expression string escape sequence

2005-07-21 Thread John Ludlow
Thanks, I'll give that a try. ** Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you mus

[Nant-users] Expression string escape sequence

2005-07-20 Thread John Ludlow
Hi, I was wondering if there's any way of passing a string with single quotes in to a custom function. Single quotes are the string delimiters for expressions, so you can't just dump them in there. If not, then I think there needs to be an escape sequence. I think '' would work ok for a single

Re: [Nant-users] NUnit reporting

2005-07-07 Thread John Ludlow
Also I used to use the task (I use the xsl files that come with CruiseControl now) as well, but one thing I didn't do was use the task. You don't say what the error is, but I'm not sure what would happen if you try to load tasks twice - could the instances conflict? What I did was just put all

[Nant-users] RE: Obfuscation and NAnt (John Ludlow)

2005-07-06 Thread John Ludlow
Thanks, Steven > I've been working with NineRays Spice.NET. I've had a quick look at it, and it looks pretty good. I've mentioned it to my boss, but I dunno if we'll be ablet o commit a couple of hundred dollars to this - cash is tight lately Cheers John *

[Nant-users] XML functions

2005-07-04 Thread John Ludlow
GFI MailSecurity's HTML threat engine found HTML scripts in this email and has disabled them.The task is really nice but has one or two wrinkles. I have a few situations where I have to test whether a particular element exists, and in a couple of cases I have to do something when a particular

[Nant-users] Various questions regarding task (multiple sln files, doing a "clean", linking problems)

2005-07-01 Thread John Ludlow
> Yes, the project does compile fine in VS. May be a problem in NAnt then. I don't know that much about VC++.NET so I'm probably not going to be much help here. Do you set any special options such as output folder? > Do Iinclude "ScenarioBuilder\Scenario.vcproj" in a "" tag within > "" or will

[Nant-users] Obfuscation and NAnt

2005-07-01 Thread John Ludlow
Hi, I'm after a good obfuscator for .NET that has the following features: - FREE, or very, very cheap. - can handle a lot of interdependent assemblies in one operation. - can take assembly details from a wildcard or from an xml file. (I don't want to have to pass 50-odd arguments on the comma

[Nant-users] Feature request: ${nant.verbose} property

2005-06-14 Thread John Ludlow
Hi I had an idea for a relatively simple (but useful!) feature. Could we have a property (you could do it as a function, but that would seem like overkill, to me) which tells you whether the -v parameter was passed on the command line? The reason I ask this is that, while certain NAnt targets wi

[Nant-users] xmlpeek results and -projecthelp

2004-11-23 Thread John Ludlow
GFI MailSecurity's HTML threat engine found HTML scripts in this email and has disabled them.Hi, there I have two quick suggestions: 1. Make the -project help not print out all CDATA elements (since this causes my

[Nant-users] RE: task problem

2004-10-27 Thread John Ludlow
I've tried generating the docs from the GUI and it seems to work. Is this just a case of rebuilding the task from the latest NDoc assemblies? Thanks > > Hi. I have started to use the task as part of my build process. > I am currently using the MSDN documenter. However, there is a problem >

[Nant-users] task problem

2004-10-26 Thread John Ludlow
Hi.  I have started to use the task as part of my build process.  I am currently using the MSDN documenter.  However, there is a problem with the Namespace Hierarchy pages.  When you click the Namespace Hierarchy link at the top of the page, you are given a page with a list of namespaces i

[Nant-users] RE: Unhandled NAnt Exceptions (Merrill Cornish)

2004-09-09 Thread John Ludlow
> I've now physically looked at all >, and they NOW seem OK. I > used Replace All to count < and to count >, and the counts > match. Also, there are an even number of ". (This is a 700+ > line script, so simple code reading isn't easy.) I would recommend trying renaming the build file to .xml

[Nant-users] RE: Xml build report

2004-08-06 Thread John Ludlow
One thing you could do is wrap your .build file in another .build file. The

Re: [Nant-users] Re: Re: Tasks in an Included file (John Ludlow)

2004-08-04 Thread John Ludlow
> The problem with a warning message is that multiple namespaces isn't necessarily an > error It is if you plan to call targets one of those included files, since that doesn't work. If the namespaces are different then you can only use properties. Nant could be clever and produce a warning mes

[Nant-users] NUnitReport

2004-08-04 Thread John Ludlow
Hi Yet another question, this time about NUnitReport (from NantContrib). I have ben trying to generate a report from the task xml output, it always generates a blank report (that is, it always acts as if there are no tests to be run). No errorsa are shown. I have put full paths to the uni

[Nant-users] Re: Re: Tasks in an Included file (John Ludlow)

2004-08-04 Thread John Ludlow
Nice one! So it was in fact something I'd done, though it wasn't obvious. Yeah, I think perhaps a message if you include a file with a different namespace would help. The reason I used that was because I wanted to see if the schema had been updated at all. Thanks very much. *

[Nant-users] Re: running external program from NAnt

2004-08-04 Thread John Ludlow
> I want to run the Unit Tests in NAnt while that > external program is running. How can I do that? Why not give the task a try? ** Privileged/Confidential Information may be contained in this message. If you are not the addres

[Nant-users] Re: Tasks in an Included file (John Ludlow)

2004-08-03 Thread John Ludlow
Ok, here we go: In Minorplanet.xml, we have http://tempuri.org/nant-donotuse.xsd";>

Re: [Nant-users] Tasks in an Included file

2004-08-03 Thread John Ludlow
> which includes an st.co target in commonproperties.xml and it calls the st.co task > with no issues: Yeah, I managed to get something similar working. However, (did I forget to mention this? Sorry if I did) where mine is failing is when I execute a task in the parent build file: Thanks

Re: [Nant-users] Tasks in an Included file

2004-08-03 Thread John Ludlow
> What error are you getting ? "Target 'st.co' does not exist in this project." At the top of the project element, I have this: and in the Starteam.xml file I have

[Nant-users] Tasks in an Included file

2004-08-03 Thread John Ludlow
Hi, I'm trying to refactor my build file to make a bit more sense. I've got a few common tasks defined in a .xml file which I include with the Include task. This all works fine except that the task I'm trying to execute doesn't get executed (says it can't find it). Does a task not get includ

[Nant-users] RE: Nant-users digest, Vol 1 #994 - 4 msgs

2004-07-30 Thread John Ludlow
> A switch or choose structure is much cleaner (IMHO) for this kind of > pattern in xml. > elseif works well in code, but tends to cause indentation blowout in > xml: > > > > > > > > > Heh, yeah, I get your point. Just suggested it out of a desire for completenes

[Nant-users] Conditional arguments in

2004-07-29 Thread John Ludlow
> +1 to either of the ideas. Having an else is a must. > > I wonder if it would be doable to have: > > > > 'then' tasks here > > > > 'else' tasks here > > > > Jarek If you're going to do this, would it also be possible to have as well as . *

[Nant-users] RE: Conditional arguments in

2004-07-29 Thread John Ludlow
> Currently, the only way (AFAIK) to do what you want is to > duplicate the > exec task and surround it with guarding if/ifnot statements: Eeewww... Ok, I might do that. > I think this is because the xml parser isn't a validating parser, but > the exec task doesn't have the required structure

[Nant-users] Conditional arguments in

2004-07-28 Thread John Ludlow
Hi, all I have an exec task which runs the Installshield command line utility to build the installation for my app. Mostly, this is a standard task which I would like to put into a common build file. However, each project might need to pass different parameters. I want the task to only pass

RE: [Nant-users] Post-Build Events causing task to fail

2004-07-27 Thread John Ludlow
> I think you did a cut and paste, and then forgot to edit the copy. Or else > my eyes really aren't working this morning. Ah, it was monday morning. Cut me some slack, all right? ;) Yeah, the second one should have been just $(OutDir)\... rather than $(ProjectDir)\$(OutDir)\... I tried Tar

RE: [Nant-users] Post-Build Events causing task to fail

2004-07-26 Thread John Ludlow
> Can you provide a small repro for this issue ? Gyaaaghh!!! Ok, I figured out how to output stuff from the build event (echo command, just like DOS) and found out where it was going wrong. The build event looks like this: copy "$(ProjectDir)ServerUnitTesting.dll.config" "$(ProjectDir)\$(OutD

[Nant-users] Post-Build Events causing task to fail

2004-07-23 Thread John Ludlow
Hi, there I have a solution which gets built with a task. However, this fails with the following message: [solution] Building 'TestMinorplanetBLL' [debug]... The filename, directory name, or volume label syntax is incorrect. [solution] PostBuildEvent failed with exit code = 1 [solution] Bui

[Nant-users] RE: [nant-dev] Typed properties

2004-07-22 Thread John Ludlow
> What types will we support ? just basic string, int, bool etc or the full CLR type > system ? How about the types that are exposed by Nant, such as Fileset? ** Privileged/Confidential Information may be contained in this mess

[Nant-users] re: csc vs. solution

2004-07-13 Thread John Ludlow
I believe the task allows you to exclude certain projects. I have a large solution with around twenty projects, so having to specify each of them would be really annoying, and specifying them by wildcard would give similar results to the task, but be a bit more complicated to use. It's a mat

[Nant-users] Re: stcheckout - unknown task or datatype

2004-07-06 Thread John Ludlow
> Thank you. I now get passed the initial error and receive a different > one. Any idea what is causing this? What version of Starteam do you use? It it version 5.3 or later? If so, then it doesn't support NAnt, as the names of the dlls in Starteam have changed. Until the NAnt boys come up w