[NAnt-users] NAnt and Microsoft Exchange Server

2010-10-01 Thread Macdiarmid, James D.
I'm trying to find an example of sending an email notification using Microsoft Exchange Server. Would it be the same as sending through SMTP? Thanks, Jim -- Start uncovering the many advantages of virtual appliances and

Re: [NAnt-users] NAnt and Microsoft Exchange Server

2010-10-01 Thread Macdiarmid, James D.
Very good. Thank you for the quick reply Mike. From: Pento, Michael [mailto:mpe...@metratech.com] Sent: Friday, October 01, 2010 10:09 AM To: Macdiarmid, James D.; NAnt-users@lists.sourceforge.net Subject: RE: NAnt and Microsoft Exchange Server Hi Jim, I believe it is. I use

Re: [NAnt-users] NAnt and Microsoft Exchange Server

2010-10-01 Thread Macdiarmid, James D.
Excellent! J Thank you again. From: Pento, Michael [mailto:mpe...@metratech.com] Sent: Friday, October 01, 2010 10:18 AM To: Macdiarmid, James D.; NAnt-users@lists.sourceforge.net Subject: RE: NAnt and Microsoft Exchange Server Sorry Jim, an example would have probably been helpful

[NAnt-users] Error occurred when sending mail

2010-10-05 Thread Macdiarmid, James D.
I finally got this working 1 time yesterday and now I keep getting the following error. Would anyone know what would be causing this and some idea on how to isolate the issue? Thanks C:\Workspaces\AHLTA\3.3.5\BuildMgmt\BuildBox\Scriptsnant -buildfile:testmail.xml NAnt 0.85 (Build 0.85.2478.0;

[NAnt-users] On Task Failure

2010-10-28 Thread Macdiarmid, James D.
I'm working on some mods to my build process using nant.success and nant.failure, such as sending email notifications and cleanup. I was wondering if it's possible to determine which task failed using conditionals when using nant.failure? Would anyone know of any examples? Thanks

[NAnt-users] Target Failure Determination

2010-11-01 Thread Macdiarmid, James D.
Would anyone know if there is a way to determine what target or task failed when using nant.failure? What I was considering on do was setting a property based on what task the script is currently processing, then clear the property at the end of the task. If the property is not blank then have

Re: [NAnt-users] Using NAnt to build Windows Application

2011-01-14 Thread Macdiarmid, James D.
Sounds like a Windows Forms application. As far as inclusion of a custom library, we are using the loadtasks / task. Example: loadtasks assembly =${path::combine(BuildDir, 'nAnt\bin\customlib1.dll')}/ loadtasks assembly =${path::combine(BuildDir, 'nAnt\bin\customlib2.dll')}/ loadtasks

Re: [NAnt-users] Are people still using NAnt

2011-03-14 Thread Macdiarmid, James D.
Hi Bob, Yes, I'm heavily using Nant in our build projects, in addition to Ant. It's an awesome tool and I too wish more development could be done. Jim From: nant-users-boun...@lists.sourceforge.net [mailto:nant-users-boun...@lists.sourceforge.net] On Behalf Of Bob Archer Sent:

Re: [NAnt-users] Are people still using NAnt

2011-03-14 Thread Macdiarmid, James D.
[mailto:rmbo...@gmail.com] Sent: Monday, March 14, 2011 1:03 PM To: Macdiarmid, James D. Cc: Bob Archer; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Are people still using NAnt Hi, I'm trying to pick up development again. I had a big project take up much of my time the last

[NAnt-users] Changesets included in the current build?

2011-05-11 Thread Macdiarmid, James D.
Can anyone tell me if there is a way to retrieve the changesets from tfs for the current build using Nant, or the nant references in a C# script? Thanks -- Achieve unprecedented app performance and reliability What

Re: [NAnt-users] Changesets included in the current build?

2011-05-12 Thread Macdiarmid, James D.
they are not written till the end of the script. Jim From: Nikhil Gupta [mailto:nikhil...@gmail.com] Sent: Thursday, May 12, 2011 1:06 AM To: Bob Archer Cc: Macdiarmid, James D.; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Changesets included in the current build? You can use

[NAnt-users] TryCatch

2011-06-08 Thread Macdiarmid, James D.
Is it necessary to wrap a TryCatch/TryCatchFinally/Finally around a copy/copy task? Thanks, Jim -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track

[NAnt-users] sending SMS messages with NANT

2011-06-09 Thread Macdiarmid, James D.
Has anyone come across an SMS task for Nant? I'd like to be able to send text messages to my phone if an error occurs in my build script. Thanks -- EditLive Enterprise is the world's most technically advanced content

[NAnt-users] Connecting to TFS using Nant

2011-06-21 Thread Macdiarmid, James D.
Anyone have any suggestions for trapping when there is no network connection to TFS in a custom Nant task? -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power

Re: [NAnt-users] NAnt.Core.Project

2011-06-28 Thread Macdiarmid, James D.
Thanks for posting that, Keston! From: nant-users-boun...@lists.sourceforge.net [mailto:nant-users-boun...@lists.sourceforge.net] On Behalf Of Obendorf, Keston Sent: Monday, June 27, 2011 4:47 PM To: Wilson, Brian; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] NAnt.Core.Project

[NAnt-users] Need help with returning values to a build script from a custom task.

2011-07-07 Thread Macdiarmid, James D.
I'm writing a custom task in C# to get all the associate changesets from TFS for a given workitem to be used in writing a build report. I'm trying to figure out how to return this data back to the build script. Can anyone point me to an example of doing this? Thanks, Jim

Re: [NAnt-users] Need help with returning values to a build script from a custom task.

2011-07-07 Thread Macdiarmid, James D.
I'd like to return an array of items so that I can send out a build report with all the ticket and changeset info that was included in the build. Jim From: Pento, Michael [mailto:mpe...@metratech.com] Sent: Thursday, July 07, 2011 4:26 PM To: Macdiarmid, James D.; nant-users

[NAnt-users] Looking for a web interface for build runs

2011-07-12 Thread Macdiarmid, James D.
I'm looking for a web application similar to TeamCity that can be used with Nant and Team Foundation Server. Do most shops use these types of applications to monitor the status of builds or would it be necessary to do some type of custom web application? Thanks, Jim

Re: [NAnt-users] Looking for a web interface for build runs

2011-07-12 Thread Macdiarmid, James D.
Windows Task Scheduler to kick off builds with a batch file. Thanks, Jim From: Pento, Michael [mailto:mpe...@metratech.com] Sent: Tuesday, July 12, 2011 4:43 PM To: Macdiarmid, James D.; nant-users@lists.sourceforge.net Subject: RE: Looking for a web interface for build runs Hi Jim

[NAnt-users] Using the Fail Task Conditionally

2011-07-13 Thread Macdiarmid, James D.
I'm using the if task in my build script to test a condition. If the condition is true, I want to send an email out then fail the build. Does it matter where I put the fail task? For example, should I put my Mail task first, then the fail task, or fail first then put the Mail task? If

[NAnt-users] Trying to set Project Properties from custom task in C#

2011-07-14 Thread Macdiarmid, James D.
I'm working on a custom task dll trying to determine how to set the project properties. When I run a build script with my custom task it works fine using the following syntax: Properties[Color] = Red; However, when I run this in the VS2008 IDE while debugging the code, I keep getting a

[NAnt-users] Invalid Child Element 'ReplaceTokens warning

2011-07-15 Thread Macdiarmid, James D.
Is anyone else getting this warning? I started getting this when I updated my schema to use in VS2008 for intellisense. The element 'filterchain' in namespace 'http://nant.sf.net/release/0.85/nant.xsd' has invalid child element 'replacetokens' in namespace

[NAnt-users] Restarting a script conditionally

2011-08-09 Thread Macdiarmid, James D.
I'm still a bit green with Nant scripting. I have a build script that has one main target, and a ton of calls to other targets. During the build process, I'm building a client GUI, Mid Tier piece and a web service piece. At the start of the build process, there are calls to targets that pull

[NAnt-users] Looking to upgrade our NAnt Install from 0.85 to 0.90

2011-09-14 Thread Macdiarmid, James D.
We've upgraded our development environment to .NET Framework 4 VS2010 and TFS 2010 and would like to know if anyone has experience upgrading NAnt from an older version to 0.90? Is it a drop in place type of thing other than updating the schema reference in the XML scripts? Any advice would

Re: [NAnt-users] Looking to upgrade our NAnt Install from 0.85 to 0.90

2011-09-14 Thread Macdiarmid, James D.
Liam, Thank you for the info! Hopefully I won’t have more worries than that. Jim From: liam_ke...@acushnetgolf.com [mailto:liam_ke...@acushnetgolf.com] Sent: Wednesday, September 14, 2011 9:50 AM To: Macdiarmid, James D. Subject: Re: [NAnt-users] Looking to upgrade our NAnt Install

[NAnt-users] NAnt custom tasks connecting to TFS2010

2011-09-14 Thread Macdiarmid, James D.
In our upgrade we also went to TFS 2010. All of our custom tasks use a custom connectioninformation as a custom element in a task. Would anyone be able to point me in the direction of an example that connects to TFS using C Sharp (compiled DLL, not embedded code)? Thanks Jim

[NAnt-users] Getting errors after upgrading to NAnt .90 - Any ideas?

2011-09-14 Thread Macdiarmid, James D.
I upgraded to NAnt .90 and modified the NAnt.Exe.Config to support .NET Framework 4. Installed the latest Windows SDK. I don't understand why my script is calling the LoadTasks when they are not even in the script. Anyone know how to fix these errors? I'm running Nant on a simple script to

Re: [NAnt-users] Getting errors after upgrading to NAnt .90 - Any ideas?

2011-09-17 Thread Macdiarmid, James D.
-debug+ -buildfile:testmail.xml If this doesn't help you might check the assembly loading with fuslogvw.exe and try to find the reason why your assemblies are not loaded. So far Dominik Am 14.09.2011 20:06, schrieb Macdiarmid, James D.: I upgraded to NAnt .90 and modified the NAnt.Exe.Config

Re: [NAnt-users] Getting errors after upgrading to NAnt .90 - Any ideas?

2011-09-17 Thread Macdiarmid, James D.
Wow! Learn something new every day. I don't know how I missed that one. Thank you for pointing that out. Jim From: Bevan Arps [mailto:bevan.a...@clear.net.nz] Sent: Saturday, September 17, 2011 5:14 PM To: Macdiarmid, James D. Cc: nant-users@lists.sourceforge.net

[NAnt-users] UpdateAssemblyVersion Task error

2011-09-19 Thread Macdiarmid, James D.
Anyone ever see this error with the UpdateAssemblyVersion Task? Invalid element UpdateAssemblyVersion. Unknown task or datatype. Here is how I have it in the script. UpdateAssemblyVersion File=${ProjectInfoCS} VersionAttribute=AssemblyInformationalVersion Version=${FileVersion}

Re: [NAnt-users] UpdateAssemblyVersion Task error

2011-09-20 Thread Macdiarmid, James D.
@lists.sourceforge.net Subject: Re: [NAnt-users] UpdateAssemblyVersion Task error Am 20.09.2011 00:03, schrieb Macdiarmid, James D.: Anyone ever see this error with the UpdateAssemblyVersion Task? Invalid element UpdateAssemblyVersion. Unknown task or datatype. Here is how I have it in the script. Hi, I

Re: [NAnt-users] UpdateAssemblyVersion Task error

2011-09-21 Thread Macdiarmid, James D.
, 2011 8:04 PM To: Dominik Guder Cc: Macdiarmid, James D.; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] UpdateAssemblyVersion Task error Hi, On Tue, Sep 20, 2011 at 1:56 PM, Dominik Guder o...@guder.org wrote: Hi Jim: asminfo should be there, it is part of NAnt.DotNetTasks.dll which

[NAnt-users] Need help with a NAnt internal error

2011-11-03 Thread Macdiarmid, James D.
Hi all, I have a C# Win Forms application that we use to kick off our build process. This application launches a form which has several text fields which we use to pass file path information to properties in our script, and a run button. The run button starts a windows console process to call

Re: [NAnt-users] Need help with a NAnt internal error

2011-11-04 Thread Macdiarmid, James D.
you mimic how your GUIs (run button) call the Nant processes, and start off Nant from a command line window the way they do? Or if you have the code that starts the console window, put a cin ; statement, which will freeze the window until you hit CR in it. -chris From: Macdiarmid, James D

[NAnt-users] NAnt Intellisense in VS2010

2013-06-21 Thread MacDiarmid, James D.
Hi all, I have NAnt set up to use intellisense in VS2010. It works as expected however I'm getting a Blue Tilde (Something like this ~ ) appearing after the closing task bracket. It shows a warning as follows: 1. The element cannot contain white space. Content model is empty.

[NAnt-users] Difference between debug and verbose command-line switches?

2013-07-16 Thread MacDiarmid, James D.
Can anyone explain the difference between debug and verbose nant switches please? Thanks in advance, Jim -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with

Re: [NAnt-users] Difference between debug and verbose command-line switches?

2013-07-17 Thread MacDiarmid, James D.
Thank you Martin. From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Tuesday, July 16, 2013 9:09 PM To: MacDiarmid, James D. Subject: RE: [NAnt-users] Difference between debug and verbose command-line switches? Jim debug = script traverses each component and spills

[NAnt-users] FileSystemWatcher Custom NAnt Task

2014-01-28 Thread MacDiarmid, James D.
There may be something already out there but I am working on one of my own to monitor a build folder. I'd like to pass in the Notify Type and was wondering what would be the best way. I was considering passing it in as a piped string of keywords. Is there a more elegant way of doing it?