Re: [NAnt-users] installer name

2010-07-08 Thread Bill Martin
As you are in xml, you will need to escape the quotes = try using " e.g. mailto:subrat.w...@gmail.com] Sent: 07 July 2010 16:09 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] installer name Is it possible to have a space in an installer name? like 'Nant Test'. well i am gettin

Re: [NAnt-users] using foreach to loop through strings

2009-10-20 Thread Bill Martin
Beth, To iterate a FileSet, I think you will need to set the item in the task to File rather than String e.g. Etc. Also. if you want to check if the FileSet contains files, you can use the fileset::to-string in NAntContrib. E.g. wil

Re: [NAnt-users] Does a file matching a pattern exist...

2009-07-24 Thread Bill Martin
You could use a fileset and then use the fileset::has-files(http://nantcontrib.sourceforge.net/release/latest/help/fu nctions/fileset.has-files.html ) function in NAntContrib. HTH, Bill _ From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: 24 July 2009 17:20 To: nant-users@lists.

Re: [NAnt-users] newline in echo

2009-07-09 Thread Bill Martin
I can see both sides of the argument - as an alternative, could you not put it in the NAnt.exe.config as an app setting? Maybe something like "nant.echo.appendnewline" This would allow the end user to chose the behaviour required, and avoid possibility of having to add a skipNewline attribute

Re: [NAnt-users] msi task - 'cabarc' failed to start

2009-01-30 Thread Bill Martin
Unfortunately, I'm not back in work until Monday, and I haven't got the source to the msi script at home, but I'm pretty sure the only thing it configures on the client machine it to put the NAnt\bin folder in the path. Do you have this? I'll double check when I get in on Monday. Cheers, B

Re: [NAnt-users] Copy command not working

2008-04-11 Thread Bill Martin
Check out the fileset functions in NantContrib (http://nantcontrib.sourceforge.net/release/latest/help/functions/index.html ) There's a couple of functions there that will tell you the number of files in a fileset, and also convert it to a delimited string so you can see what files are in there

Re: [NAnt-users] Adding Reference to Crystal DLL's

2007-10-18 Thread Bill Martin
I assume this is just for example and you are really using the element in the task? Have you tried running NAnt with the -verbose and/or -debug switches to see what it really resolves the references to? There's also a function in NAnt contrib. That will convert a fileset to a string for printin

Re: [NAnt-users] Sandcastle task update

2007-07-15 Thread Bill Martin
DOH! Too big with the attachment. You can get the zip file here instead: http://www.bills-web.pwp.blueyonder.co.uk/NAnt/ _ From: Bill Martin [mailto:[EMAIL PROTECTED] Sent: 15 July 2007 21:04 To: 'nant-users@lists.sourceforge.net' Subject: Sandcastle task update Ha

Re: [NAnt-users] and

2007-01-21 Thread Bill Martin
Hi Mark, I've never used SVN myself, but have you tried the task in NAnt-contrib? Might be easier that . http://nantcontrib.sourceforge.net/release/latest/help/tasks/svn-update.html HTH, Bill _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Mod

Re: [NAnt-users] Shared Components

2006-09-12 Thread Bill Martin
Eric, It depends how you compile your apps. The way I have done this (and I'm not saying it's the best!) is I use the / tasks rather than the task, and every project has its own .build file to build it. I then have a controlling script and a properties file, and the properties file contains a b

Re: [NAnt-users] Nant newby question...

2006-06-11 Thread Bill Martin
Hi Robert.   NAnt handles this slightly differently to Ant.  With Nant, you use the task which is basically the same as in Ant to include another build file.  This can contain properties, scripts, targets etc.  Basically, you need to set up a .build file with all your properties in, def

RE: [NAnt-users] Error when trying to compare equality of string

2006-05-01 Thread Bill Martin
Chris,   Try this syntax:     Cheers,   Bill     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Holt Sent: 01 May 2006 20:00 To: nant-users

RE: [NAnt-users] Incorporating NAntContrib into NAnt

2006-03-15 Thread Bill Martin
Title: Incorporating NAntContrib into NAnt Christina,   There are two ways to accomplish this.  The “easy” way is to copy the content of the NAntContrib bin folder into the NAnt bin folder, however this is not the recommended way.   The recommended way is to install NAntContrib to a sep

RE: [NAnt-users] Testing if a value is an Int

2006-02-07 Thread Bill Martin
Title: Testing if a value is an Int You could use a custom function in VB (‘cause IsNumeric is more tricky in C#!).  Try something like:      


RE: [NAnt-users] Mail-Task

Haven't tried it myself, but can you specify it on the IP address/url? E.g. Myserver.local:587 HTH, Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Henning Eiben Sent: 19 December 2005 13:34 To: nant-users@lists.sourceforge.net Subject: [NAnt-users

RE: [Nant-users] Re: [nant-dev] Help required regarding getting files from SCM(Rational ClearCase)

Gary is right here. You don't "get" files from ClearCase as you would with SourceSafe or PVCS. Instead they are managed through Views. If you use the UCM model, then the content of the view is managed by the delivery model between streams, if you don't, then the view content is managed by the Co

RE: [Nant-users] RE: Weird NAnt build failures that go away after an IDE build

Do you have any webreferences in your applications Gishu?  If so, then it may be that you need to re-generate the references during the build process.  I hit this problem, as proxy stubs were stored in PVCS by the integration with VS.  If you build the solution in VS, behind the scenes, it

RE: [Nant-users] Getting properties from an INI

by the line correctly split on the '=' character. I still think therefore you may be better to copy the file through a filter chain and remove the section definitions and just leave the name/value pairs. HTH, Bill -Original Message- From: Joel Gwynn [mailto:[EMAIL PROTECTED] Se

RE: [Nant-users] Getting properties from an INI

Joel, You may be able to do this with the task. You could use something like: Not sure how easily you could cope with the blank sections though. You may need to use a filter chain first to delete the section markers. HTH, Bill -Original Message- From: [EMAIL PROTECTED]

RE: [Nant-users] RE: Weird NAnt build failures that go away after an IDE build

Do you have any webreferences in your applications Gishu?  If so, then it may be that you need to re-generate the references during the build process.  I hit this problem, as proxy stubs were stored in PVCS by the integration with VS.  If you build the solution in VS, behind the scenes, it

RE: [Nant-users] Solution task and VSSGET

Title: Message Hi Russell,   Whilst I can see what you are saying, I don't really think this is NAnt's fault.  Really, you shouldn't have anything in your current view of your archive that isn't part of the current solution.. The problem is that VSS doesn't version folders.  You could switc

RE: [Nant-users] Configuration Management

Kelly, I don't know what your build structure is, but I have certainly come across similar problems in the past. One of teh reasons for switching to NAnt originally was the problem with VS using hint paths and if it couldn't find a referenced assembly, it goes and looks for something similar. My

RE: [Nant-users] vb.net xml documentation

Have a look on the Sourceforge site for a tool called vb.doc   This does the extract of comments from VB code, either through a GUI, command line or through its own NAnt task.  You can then use the NDoc task on the resulting xml and compiled assemblies.   You may have to edit the tool or yo

RE: [Nant-users] csc Task Strategies

Title: csc Task Strategies There are ways to simplify your problem, depending on your circumstances.  I am assuming that your assemblies are strong named, so you need to reference the specific version?  Does the whole system always reference a single version of a particular assembly or could

RE: [Nant-users] targetting specific frameworks

Simon, If you want to be absolutly certain, then once you have compiled the assembly, open in ILDASM and inspect the manifest. Look for the reference to System.dll and check the version. The version 1.0 reference will look something like: .assembly extern System { .publickeytoken = (B7 7A 5C

RE: [Nant-users] environment::get-variable usage

You need single quotes round the variable name, otherwise NAnt will try to evaluate it as a property:       I'm pretty sure that the environment variable lookup is not case sensitive so 'BUILD' and 'build' should both work.   HTH,   Bill   -Original Message-From: [EMAIL PROTECT

RE: [Nant-users] Why use Nant?

I have had similar discusions in the past. There are lots of reasons for using NAnt, but in my view, two of the key ones are: 1) Building with VS is unreliable as it used hint paths in the proj files to resolve references. If it can't find an assembly where it thinks it should be, then rather th

RE: [Nant-users] Load tasks acting weird - part 2

Just a thought, but have you tried / instead of \ ? I always use / as it is unambiguous, whereas \ can be treated as an escape character and on occasions, cause problems. Cheers, Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Malcolm Anderson Sent:

[Nant-users] Documenter problem.

Hi, I'm setting up a build script to build a C# aplication and the associated documentation. I'm trying to sue the MSDN 2003 documenter, but have a bit of a weird problem. I an setting the target-framework to net-1.1, and it seemd to be compiling with the 1.1 compiler, but when it comes to compi